Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-15-2012, 07:17 AM   #1
Registered: Sep 2011
Location: /dev/null
Distribution: ubuntu 64bits
Posts: 135

Rep: Reputation: 1
Question rsync - how to suppress counting files during --process to log output file ?


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,
Old 09-16-2012, 03:20 PM   #2
Registered: Jul 2004
Distribution: Ubuntu
Posts: 387

Rep: Reputation: 33
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?


file, log out, progress, rsync, stat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help to have a rsync script log output to a file with time stamp Thaidog Programming 5 11-15-2011 05:37 PM
[SOLVED] rsync - how to suppress "skipping non-regular file" messages arashi256 Linux - Newbie 1 05-11-2011 09:02 AM
Perl: Counting Files With File::Find Kebman Programming 15 02-04-2011 04:32 AM
Limit rsync log output glennbtn Linux - Server 1 07-23-2010 04:44 AM
make rsync output deleted files? hawarden Linux - Software 8 03-18-2005 12:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration