I need to move a large number of files that need to go to different directories i.e.
file1.mpg to /mnt/s3/directory1/file1.mpg file2.mpg to /mnt/s3/directorya/file2.mpg file3.mpg to /mnt/s3/directoryx/anotherfilename.mpg rsync -av --progress --inplace /path/to/file1.mpg /different/path/directory/1/file1.mpg
Works but I would like to batch all the file transfers together so I don't have to monitor it all the time and keep manually put in each rsync. I wrote a quick shell script to rsync the files but after the file is transferred it seems to hang there waiting for some sort of user input. If ^c it continues on, otherwise will hang there indefinitely.