rsync not removing files that are out of date
Stuart Halliday
StuartH at ecs-tech.com
Wed Apr 5 12:05:44 GMT 2006
Ooops I wouldn't do that.
Try
#rsync -ahv --modify-window=3601 linux1::home/rdrive /home/
ie only look at files more than an hour only or if the file size has changed.
I copy from a Windows server to a Linux backup so I use:
set CYGWIN=nontsec
set bw=1500
rsync -azP --exclude-from=D:\excluded.txt --delete-excluded --delete
--modify-window=3601 --bwlimit=%bw% abcd at windowsserver::share/
/cygdrive/h/windowsserver/share
--
Stuart Halliday
ECS Technology ltd
Registered in Scotland - #212513
More information about the rsync
mailing list