[Bug 8558] New: rsync --out-format doesn't support single character escapes as listed in manpage

samba-bugs at samba.org samba-bugs at samba.org
Mon Oct 31 18:56:37 MDT 2011


           Summary: rsync --out-format doesn't support single character
                    escapes as listed in manpage
           Product: rsync
           Version: 3.0.6
          Platform: x64
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: kym.newbery at aad.gov.au
         QAContact: rsync-qa at samba.org

According to the rsync manpage, the --out-format <FORMAT> switch supports the
single character escapes listed under the 'log format' options in rsyncd.conf
manpage, however for my version of rsync some of the escapes don't work.

In this specific case : %a, %h, %P, %u are not expanded.

example :

[tiris at sts-dev tg_sync]$ rsync -tr -v --out-format "%a %b %B %c %f %G %h %i %l
%L %m %M %n %o %p %P %t %u %U"  rsync://user@tg-b1.aad.gov.au/log

receiving file list ... done
%a 1089 rw-rw-r-- 0 rsyncd DEFAULT %h >f.st...... 69953   2011/11/01-00:55:24
rsyncd recv 10013 %P 2011/11/01 00:55:26 %u 0
%a 2889 rw-rw-r-- 0 tg DEFAULT %h >f.st...... 15377   2011/11/01-00:55:00 tg
recv 10013 %P 2011/11/01 00:55:26 %u 0

sent 823 bytes  received 4541 bytes  975.27 bytes/sec
total size is 680044  speedup is 126.78
[tiris at sts-dev tg_sync]$

$ rsync --version
rsync  version 3.0.6  protocol version 30
Copyright (C) 1996-2009 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list