LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-15-2012, 07:17 AM   #1
masuch
Member
 
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 ?


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
 
Old 09-16-2012, 03:20 PM   #2
vxc69
Member
 
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?
 
  


Reply

Tags
file, log out, progress, rsync, stat



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 AM.

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