disable interpretation of trailing slash

Voelker, Bernhard bernhard.voelker at siemens-enterprise.com
Mon Jan 9 01:34:57 MST 2012

John J Foerch wrote:

> So I may take up your suggestion for my own use, but I did want to put
> forward the idea that since in my experience, trailing slash
> interpretation is an often-mentioned stumbling-block for rsync users,
> maybe it would be appropriate for rsync itself to provide a convenient
> alternative.

I've also been using rsync for many years, and from right at the
beginning, I started using the "dir/." syntax to not fall into that
trap. It always works and is also nice to use in scripts as an
accidental "dir/./." does not harm ;-)

Have a nice day,

More information about the rsync mailing list