https://bugzilla.samba.org/show_bug.cgi?id=8558
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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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@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://[email protected]/log
/cifs/tiris/tg-b1
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@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/
Capabilities:
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html