Skip to content

Instantly share code, notes, and snippets.

@bryan-lott
Created July 13, 2018 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryan-lott/2783b547938e90f555f82aae74d35f80 to your computer and use it in GitHub Desktop.
Save bryan-lott/2783b547938e90f555f82aae74d35f80 to your computer and use it in GitHub Desktop.
Move files from one folder to another
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