When rsyncing a folder with a million files,
a million lines are output to stduot/stderr, containing
the file names.
(I'm using Travis CI, and this trips it up because their log files can be max 4MB)
How can I tell rsync to not "tell me the file names it's processing"
I still want to hear about hiccups/errors, I just don't want a listing of the files it transferred.
My command is:
sudo rsync -avh --no-specials --exclude="foo/" src/ dst/
Best Answer
To make rsync less verbose, don't use the
-v
switch, whose entire purpose it to give verbose output including a list of all files transfered.I would suggest using
rsync --stats -ah [...]
based on your example command.