On Thu, Feb 19, 2004 at 07:19:52PM -0800, Shifra Raffel wrote:
> Hello,
> I'm having trouble with setting desired punctuation and spaces with log 
> formatting in a perl script.
> 
> The log-format options I am using are  --log-format=%h%a%l%o%f%t%u%c. Full 
> rsync command at end of this message.
> 
> When I run the rsync command and write the results to a file,
> $results = `$rsyncstr 2>&1`,
> my log format options are ignored if I have the options quoted in the 
> command, and the log is unreadably compressed if I leave off the quotes. 
> I've tried qq//, escaped \", escaped \',  and many other ways of escaping 
> quotes. Any suggestions?
> 
> Full rsync string:
> 
> rsync -Cclrtvzn --log-format="%h %a %l %o %f %t %u %c" /localdir 
> [EMAIL PROTECTED]:/remotedir

This is not an rsync issue.  It is a perl issue.

-- 
________________________________________________________________
        J.W. Schultz            Pegasystems Technologies
        email address:          [EMAIL PROTECTED]

                Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to