Feature suggestion: number of deleted files on --stats

Matt McCutchen hashproduct+rsync at gmail.com
Fri Apr 27 01:12:29 GMT 2007


On 4/6/07, Rodrigo Severo <rodrigo at fabricadeideias.com> wrote:
> Or maybe there already is a simplier way to detect if rsync actually changed
> anything. Please enlighten me.

Use --out-format='changed something: %i %n%L' and see if the output to
stdout contains a line beginning with "changed something: ".  :)

Including the number of deleted files in --stats output might still be
nice and wouldn't be hard to do.  If a --max-delete limit is
specified, rsync already counts the files it deletes.

Matt


More information about the rsync mailing list