I want to copy an entire directory or just files from a directory to two or more directories at the same time. I'm struggling with the syntax to add more directories for the destination, so the copy is done at the same time (as I'll run a cron job).
Everything works fine if I have one single directory, however I need to add two or more.
The last line of code is:
shutil.copy(full_file_name, r'S:\\A')
I want to add more destination folders after S:\
(this is for Win machines)
Thanks for help!
shutil.copy()for each destination directory.