source = /tmp/src
contains a,b,c,d files
destinations = ‘/one’ , ‘/two’
so i want to copy files a,b,c,d to both destinations ‘/one’ and ‘two’
something like
source = '/tmp/src'
destinations = []
def copy_files_multiple_dest(source,destinations)
right ?
now, how would i loop through all the destinations
how about something like:
i’m not sure it’s the fastest but it should do the job.