On Mon, Jun 6, 2016 at 8:52 AM, Koehn, Troy N. <tnko...@west.com> wrote:

> One of the directories in the database actually looked like this:
>
>
>
> /home/usr/directory/./
>

In the manpage under the "--relative" option (which is implied by
--files-from) there is this information:

It is also possible to limit the amount of path information that is sent as
implied directories for each path you specify. With a modern rsync on the
sending side (beginning with 2.6.7), you can insert a dot and a slash into
the source path, like this:

rsync -avR /foo/./bar/baz.c remote:/tmp/


That would create /tmp/bar/baz.c on the remote machine. (Note that the dot
must be followed by a slash, so "/foo/." would not be abbreviated.)


Thus, your path tells rsync to take the contents of the /home/usr/directory
path and send its contents without any implied directories, which puts its
content at the root of 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