With rsync-3.0.6 on a Solaris 10/x86 system:
  $ mkdir /opt/s/c
  $ cd /opt/s/c
  $ gtar zxf rsync-3.0.6.tar.gz
  $ mkdir /opt/s/o
  $ rsync -aHv rsync-3.0.6 /opt/s/o
  $ mkdir /opt/s/o2
  $ cd /opt/s/o/rsync-3.0.6
  $ echo foo >configure
  $ rsync -aHv --compare-dest=/opt/s/c /opt/s/o/rsync-3.0.6 /opt/s/o2
  $ cd /opt/s/o2
  $ find .
  ./rsync-3.0.6
  ./rsync-3.0.6/doc
  ./rsync-3.0.6/lib
  ./rsync-3.0.6/packaging
  ./rsync-3.0.6/packaging/bin
  ./rsync-3.0.6/packaging/lsb
  ./rsync-3.0.6/packaging/solaris
  ./rsync-3.0.6/popt
  ./rsync-3.0.6/support
  ./rsync-3.0.6/testhelp
  ./rsync-3.0.6/testsuite
  ./rsync-3.0.6/zlib
  ./rsync-3.0.6/configure

Is there a way, with --compare-dest, to perform the transfer without
creating empty directories? What I want is:
  $ find .
  ./rsync-3.0.6
  ./rsync-3.0.6/configure

-- 
albert chin (ch...@thewrittenword.com)
-- 
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

Reply via email to