LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2014, 06:09 PM   #1
tonj
Member
 
Registered: Sep 2008
Posts: 546

Rep: Reputation: 37
no verbosity from rsync


I'm running a centos 6.5 server 64 bit (command line only) with rsync-3.0.6-9, problem is I can't get any verbosity out the console when running rsync.
I've tried -v -vv -vvv -vvvv --verbose and --progress but the console shows nothing.
I can see rsync is working because the destination folder is filling up and my broadband is maxed out with downloading. Thanks for any help.
 
Old 02-03-2014, 07:27 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
what is the exact command you are running. im running the same server, both OS and rsync, and have zero issues getting verbose out to console.

Code:
[user@centos ~]$ uname -a
Linux centos.ssmahome 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[user@centos ~]$ d Pi/
total 24
drwxrwxr-x.  4 user user 4096 Dec 12 18:02 ./
drwx------. 20 user user 4096 Feb  3 20:26 ../
-rw-------.  1 user user 6148 Dec 12 18:02 .DS_Store
drwx------.  2 user user 4096 Feb 15  2013 rpfr-17-xfce-r1/
drwx------.  2 user user 4096 Feb 15  2013 rpfr-17-xfce-r2/
[user@centos ~]$ mkdir TMP
[user@centos ~]$ rsync -aviS Pi/ TMP/
sending incremental file list
.d..t...... ./
>f+++++++++ .DS_Store
cd+++++++++ rpfr-17-xfce-r1/
>f+++++++++ rpfr-17-xfce-r1/rpfr-17-xfce-r1.img
^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [sender=3.0.6]
[user@centos ~]$ d TMP/
total 24
drwxrwxr-x.  4 user user 4096 Dec 12 18:02 ./
drwx------. 21 user user 4096 Feb  3 20:27 ../
-rw-------.  1 user user 6148 Dec 12 18:02 .DS_Store
drwx------.  2 user user 4096 Feb  3 20:27 rpfr-17-xfce-r1/
drwx------.  2 user user 4096 Feb 15  2013 rpfr-17-xfce-r2/
[user@centos ~]$ rm -rf TMP/
[user@centos ~]$ uname -a
Linux centos.ssmahome 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[user@centos ~]$ rsync --version
rsync  version 3.0.6  protocol version 30
note the v in the middle of the argument section.
 
Old 02-03-2014, 10:16 PM   #3
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 529

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Originally Posted by lleb View Post
note the v in the middle of the argument section.
Just curious, so I tried putting the v in various places and I get the verbose output regardless of where the v is placed (I mean before or after the directories).

Last edited by Beryllos; 02-03-2014 at 10:27 PM.
 
Old 02-03-2014, 10:21 PM   #4
Beryllos
Member
 
Registered: Apr 2013
Location: Massachusetts
Distribution: Debian
Posts: 529

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Does your rsync command line, by any chance, redirect the output, as in this example:
Code:
rsync -a ./Pictures/ ./erase-me/ -vvv >> logfile 2>&1
Next, investigate whether there is an alias or function named rsync. I think you can get around these by specifying the path as in /usr/bin/rsync rather than just the name rsync.

Last edited by Beryllos; 02-03-2014 at 10:39 PM.
 
Old 02-04-2014, 05:13 AM   #5
tonj
Member
 
Registered: Sep 2008
Posts: 546

Original Poster
Rep: Reputation: 37
thanks for your reply. The command I was running is:
/usr/bin/rsync -avrt rsync://mirror.keystealth.org/centos/6/updates/x86_64/ /var/www/html/centos/6/updates/ | /bin/mail <my email address> -s "New Repo Updates"
and the console gave nothing.
I tried it again without the email bit:
/usr/bin/rsync -avrt rsync://mirror.keystealth.org/centos/6/updates/x86_64/ /var/www/html/centos/6/updates/
and now the verbosity has come in and is working.
so I also tried:
/usr/bin/rsync -art -vv --progress rsync://mirror.keystealth.org/centos/6/updates/x86_64/ /var/www/html/centos/6/updates/
and the console is giving loads of info now.
 
Old 02-05-2014, 08:31 PM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
could have just been a typo someplace along the way. no it does not matter were in the argument tree the -v is placed just as long as its there it should spit out the verbose data.
 
  


Reply



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
rsync 3 verbosity guyboisvert Linux - Software 2 06-01-2012 09:26 AM
[SOLVED] portage compilation verbosity question... fedoralinuxjunkie Calculate 2 08-14-2010 11:11 PM
KDE error log verbosity settings jlinkels Linux - Software 1 11-07-2009 10:38 AM
Changing X verbosity level atunguyd Linux - Newbie 3 07-24-2008 01:28 AM
no verbosity with boot after 2.6 upgrade fincher69 Slackware 2 09-11-2006 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:28 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