Created
July 13, 2018 15:42
-
-
Save bryan-lott/2783b547938e90f555f82aae74d35f80 to your computer and use it in GitHub Desktop.
Move files from one folder to another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import shutil | |
import os | |
src = 'source' | |
dst = 'destination' | |
for f in os.listdir(src): | |
shutil.move(os.path.join(src, f), dst) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment