Speed improvement in ftpsync using --delete-delay
Since rsync 3.0 there's a new method to do the --delete, it's called
--delete-delay. The working effect is the same as with the
--delete-after, with the difference that the files to delete are indexed
on the fly.
It GREATLY improves performance, specially in vast amount of files.
>From lenny rsync 3.0 is the default version, and in either case I've
been able to compile from the .tgz without problems in distros from 5 years.
Changing in ftpsync:
--delete --delete-after --delete-excluded"}
--delete --delete-delay --delete-excluded"}
Only when rsync is version 3 or greater.