Copy the Contents of One Directory into Another Directory [python]
The Code
Notes
-
This is what I want most of the time when I'm moving files.
-
It copies the contents of a directory recursirvely to a new location instead of making a copy of the source folder inside the destination.
That is, this:
root/source_dir/file.txt
Goes to:
root/destination_dir/file.txt
Instead of:
root/destination_dir/source_dir/file.txt