Logging rsync results using >> not getting all output
Tyler Krehbiel
Tyler.Krehbiel at swsc.org
Thu Feb 28 17:33:29 GMT 2008
I currently use a patched version of rsync 2.6.3 with support hfs+ file
systems. Running on Mac OS 10.4 (Server). It works great but I cant get the
output to work correctly.
This is the command I use in the script:
rsync -av --hfs-mode=appledouble /Volumes/x/x/
root at 192.168.1.1:/Volumes/x/x/x/x/ >> $LOGS
This give me output like this:
building file list ... done
Personnel/Library
Installers/RealPlayer.app/Contents/Frameworks/HXClientKit.framework/Versions
/A/Headers/
Personnel/Library
Installers/RealPlayer.app/Contents/Frameworks/HXClientKit.framework/Versions
/A/Resources/
Personnel/Library
Installers/RealPlayer.app/Contents/Frameworks/RNControls.framework/Versions/
A/Headers/
Personnel/Library
Installers/RealPlayer.app/Contents/Frameworks/RNControls.framework/Versions/
A/Resources/
All is well, but I am realizing that it is not logging information like
this, I am only able to get this if I run manually:
rsync error: some files could not be transferred (code 23) at main.c(702)
rsync: chgrp
"/Volumes/BackupDrive/Backups/x/Volumes/x/x/studenttest/RECYCLER/S-1-5-21-34
0522140-3920632414-2425575602-1391/D at 1/Favorites/Documents" failed: No such
file or directory (2)
Anybody know whats going on? I tried to use tee to see if that would make
any difference but no luck.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync
mailing list