SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rsync --out-format="..." adds unwanted quotes to t
Author Message
Post rsync --out-format="..." adds unwanted quotes to t 
Hello rsnapshot-discuss ML:

I have been happily using rsnapshot 1.3.0 installed on Ubuntu 10.04.

I would like to know how to specify an rsync --out-format string.
I currently use the "rsync_long_args" option in rsnapshot.conf to try
The following mostly works (unrelated default options omitted):

rsync_long_args --out-format="%12l %M %i %n%L"

However the output shows the double quotes on the console, at the
beginning and end of each line:

/usr/bin/rsync -avx --delete --numeric-ids --relative --delete-excluded \
--out-format="%12l %M %i %n%L" /mnt/data/plz \
/mnt/crypt/.snap/50snap.0/ruu/
sending incremental file list
" 4096 2011/04/22-01:28:10 .d..t...... /mnt/data/plz/new/dir1/"
" 210758396 2010/08/22-19:41:33 >f+++++++++
/mnt/data/plz/new/dir1/big file.zip"

I would like to get rid of the double quotes on the output.

I have tried the following separately:

rsync_long_args --out-format='%12l %M %i %n%L'
rsync_long_args --out-format=%12l %M %i %n%L
rsync_long_args --out-format "%12l %M %i %n%L"
rsync_long_args --out-format %12l\ %M\ %i\ %n%L
rsync_long_args --out-format %12l\\ %M\\ %i\\ %n%L
rsync_long_args "--out-format=%12l %M %i %n%L"

None of these work.

Also, rsync without rsnapshot works as expected.

Best regards,
Clifford Caoile

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB