On Sat, Mar 14, 2009 at 04:11:12PM -0500, David C. Rankin wrote:
> Way too much path, way way too much path.

By default, all the path segments in the files-from file are a part of
the transfer unless you turn off the implied --relative option, in which
case no directory elements from the source paths are used.  So, either
(1) move path elements out of the files-from file to the source dir arg,
(2) specify --no-relative and specify the full destination path to where
you want the directory files to go, or (3) insert a "/./" dir to specify
the cut point for files-from path information (but prior to 3.0.5 the
sender needs to be in the same dir as the source path to avoid a bug).

So, option 1 would mean stripping things like /var/cache/zypp/packages
from the start of the files-from paths and specifying that source path
on the command line as "/var/cache/zypp/packages" instead of "/".

In option 3, files-from lines would look like this:

/var/cache/zypp/packages/openSUSE-11.0-Updates/rpm/./x86_64/satsolver-tools-0.9.5_0.9.6-0.1.x86_64.delta.rpm

Put that '/./' dir wherever you want to cut off the path info that is
included in the transfer.

..wayne..
-- 
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