Skip to content

Instantly share code, notes, and snippets.

import os
import shutil
src = '/tmp/from/'
dst = '/tmp/to/'
filelist = []
files = os.listdir(src)
for filename in files:
filelist.append(filename)
fullpath = src + '/' + filename