So I tried looking on google and still couldn't figure out what I wanted.
I have two different directories, truck and car.
Car contains several sub directories inside it, like a headlight.hpp file, a battery.cpp file, and a windshield.hpp file. These all have code inside them.
Truck contains the exact same sub directories(headlight.hpp, battery.cpp, windshield.hpp), except they are all empty(no code).
I'm trying to, one at a time, copy the contents from Car into Truck, with the content still remaining in Car once I copy it to Truck.
How do i do this? I feel like it's simple but for some reason just can't hack it tonight and this would also be nice to know for productivity reasons. Any help appreciated!
This will copy all content of car and put it in truck. If a file already exist in truck it will be overwritten. If truck contains other files that are not present in car they will remain unmodified. If truck doesn't exist it will be created.