Skip to main content
deleted 6 characters in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

Thanks for the help and pointing me to rsync. I made this script

#!/bin/sh

cd /directory/of/source/

find -type f -mmin -(time in mins) -exec rsync -zauv {} /directory/of/destination/ ;

#!/bin/sh

cd /directory/of/source/

find -type f -mmin -(time in mins) -exec rsync -zauv {} /directory/of/destination/ \;

Ran it on 2 test folders and all seemed to work. Just to link it to crontab and all done. Thanks for the help again

Thanks for the help and pointing me to rsync. I made this script

#!/bin/sh

cd /directory/of/source/

find -type f -mmin -(time in mins) -exec rsync -zauv {} /directory/of/destination/ ;

Ran it on 2 test folders and all seemed to work. Just to link it to crontab and all done. Thanks for the help again

Thanks for the help and pointing me to rsync. I made this script

#!/bin/sh

cd /directory/of/source/

find -type f -mmin -(time in mins) -exec rsync -zauv {} /directory/of/destination/ \;

Ran it on 2 test folders and all seemed to work. Just to link it to crontab and all done.

Source Link

Thanks for the help and pointing me to rsync. I made this script

#!/bin/sh

cd /directory/of/source/

find -type f -mmin -(time in mins) -exec rsync -zauv {} /directory/of/destination/ ;

Ran it on 2 test folders and all seemed to work. Just to link it to crontab and all done. Thanks for the help again