On 08/23/2014 02:05 AM, Philip Amadeo Saeli wrote:
3. Including a trailing slash on the source means that only the contents of the source dir, and not the dir itself, will appear in the destination dir. Note that all files, even files beginning with a dot, will be included in this case (which beats using a "*").
Thanks for the explanation, but ... I feel uncomfortable with the latter as adding a trailing slash on a symlink (whether to a file or a directory) usually causes the symlink to be de-referenced. Now what happens then in rsync? Will the slash implicitly be added to the de-referenced symlink target again, or not? Thus, I'll stick with "path/to/dir/." which works whether "dir" is a symlink to a directory or not. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org