LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsync - how to suppress counting files during --process to log output file ? (http://www.linuxquestions.org/questions/linux-newbie-8/rsync-how-to-suppress-counting-files-during-process-to-log-output-file-4175427376/)

masuch 09-15-2012 07:17 AM

rsync - how to suppress counting files during --process to log output file ?
 
Hi,

Is there any way how I can suppress counting files in rsync but keep --progress and --stats switched on ?

I have redirecting to output file (in crontab) and there is too many lines like this:

building file list ...
0 files...
100 files...
200 files...
300 files...
400 files...
500 files...
600 files...
700 files...
800 files...
900 files...
1000 files...
...
which I do not want. But I want to have detailed list of transferred files and final statistics.

thank you,
kind regards,
Martin

vxc69 09-16-2012 03:20 PM

I'm not an rsync expert, but if you disable counting of files how would the program return statistics? You might however be able to not output the lines you don't want, don't know any flags that can do that. But why don't you write a script to remove the lines you don't want?


All times are GMT -5. The time now is 07:17 AM.