I've created a backup script with rsync and I have it running every 10 minutes. I am copying files from HFS to Fat32. I have it logging using --progress
but to make reading the log easier I only want to include files that are transferred. I.e. at the end of a run I would like to see something in the log like:
Started transfer at 2012-07-31 11:03:45 /some/file/that/was/changed.txt /another/file/that/was/added.jpg Number of files: 35184 Number of files transferred: 2
I can't find anything after a bit of googling. Is there a way to do this?
Thanks.
--stats
instead of--progress
? – scai Jul 31 '12 at 10:36