I am working to get a data transfer service up to which I can copy only newly created files in /h/data/share/(company share) to /g/data/global/ (public dropbox), however the files in /g/data/global are being moved, which is causing me some issues because it keeps copying and syncing the same files over and over, which the other end is getting the many duplicates.
I have tried some of the following:
cd /h/data/share/ find . -newerct -1 > /h/data/sync.txt rsync -avzh --no-R --from-file=/h/data/sync.txt /g/data/global/
I keep getting too many arguments after running, this is supposed to be a service which can be auto run with a cronjob. Also, this will be moving thousands of .mp3, .jpg, .png, .doc, etc per day.