Ok, I think you have to do Little trick here. Here is how I would go in such case: 1. I will take list of all files in scr directory 2. I will iterate in the list, moving each file to dst until I finish
I guess you know the right module and looping to do the job! :)
# move files from one directory to another
# if files alrady exist there, they will be overwritten
# retains original file date/time
# make sure that these directories exist
dir_src = "C:\\Python25\\ATest1\\"
dir_dst = "C:\\Python25\\ATest2\\"
for file in os.listdir(dir_src):
print file # testing
src_file = os.path.join(dir_src, file)
dst_file = os.path.join(dir_dst, file)