logging mechanism in rsync

Jignesh Shah jignesh.shah1980 at gmail.com
Wed Dec 24 04:07:25 GMT 2008


Matt,

Could you please tell me why I am getting below errors in rsync 3.0.4? I
have rsync 3.0.4 both side.

userid at system123:/userid> rsync --version
rsync  version 3.0.4  protocol version 30
Copyright (C) 1996-2008 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, no IPv6, batchfiles, inplace,
    append, ACLs, no xattrs, iconv, no symtimes
rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

Errors:

userid at system123:/userid> rsync -avz --debug=exclude --info=skip
--info=name2 tmp/* sys2.nyc:/userid/tmp/
rsync: --debug=exclude: unknown option
rsync error: syntax or usage error (code 1) at main.c(1423) [client=3.0.4]

userid at system123:/userid> rsync -avz --info=skip --info=name2 tmp/*
sys2.nyc:/userid/tmp/
rsync: --info=skip: unknown option
rsync error: syntax or usage error (code 1) at main.c(1423) [client=3.0.4]

userid at system123:/userid> rsync -avz  --info=name2 tmp/*
sys2.nyc:/userid/tmp/ rsync: --info=name2: unknown option
rsync error: syntax or usage error (code 1) at main.c(1423) [client=3.0.4]

userid at system123:/userid> rsync -avz  -w tmp/* sys2.nyc:/userid/tmp/
rsync: -w: unknown option
rsync error: syntax or usage error (code 1) at main.c(1423) [client=3.0.4]

Thanks,
Jignesh

On Tue, Dec 23, 2008 at 10:00 PM, Matt McCutchen <matt at mattmccutchen.net>wrote:

> On Tue, 2008-12-23 at 12:20 +0530, Jignesh Shah wrote:
> > Thanks for the info. Basically I want to display all the files which
> > has not transfer because "the file has not changed". Can I use
> > --info=skip for this?
>
> That would be:
>
> >         - For files that did not need a transfer because they passed the
> quick
> >         check, pass -vv (--info=name2) and look for "FILENAME is
> uptodate", or
> >         pass -ii and look for files whose itemize code is blank after the
> first
> >         two characters.
>
> --
> Matt
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list