On Tue, Oct 07, 2003 at 10:45:13AM -0700, jw schultz wrote:
> Also, it is incorrect.  The trailing slash means the contents of the
> directory (excluding .).

Nope.  The code specifically adds the '.' dir to the list of files to
send, which is why the attributes get sent and why recursion occurs.
The verbose output even mentions "./" explicitly when it updates the
attributions, so this is not something that is hidden from the user.

> What i was talking about regarding a documentation addition was
> something discussing the root dir ("/") which is more awkward to to
> specify copy the contents but not the directory.

There's no difference between copying "/dir/" and "/" in how rsync
treats it.  The only difference with "/" is that you can't copy this
directory by name.  "Copy the contents" always copies the directory, so
I don't see what you mean by "copy the contents and not the directory".

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to