On 05.02.2014 13:00, Daniel Mare wrote:
> As a safety feature, I would like to see a feature that would prevent rsync
> from syncing when the sync, if it were to go ahead, would result in more than
> a certain number of files being deleted from the destination.
>
> A similar feature, --max-delet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You could do a --dry-run with --max-deletes and check for exit code
25. Then only do the real run if not exit code 25.
On 02/05/2014 12:00 AM, Daniel Mare wrote:
> As a safety feature, I would like to see a feature that would
> prevent rsync from syn
As a safety feature, I would like to see a feature that would prevent rsync
from syncing when the sync, if it were to go ahead, would result in more than a
certain number of files being deleted from the destination.
A similar feature, --max-delete, does exist, but does not prevent rsync from
do