disable interpretation of trailing slash
wayned at samba.org
Sun Jan 8 00:25:30 MST 2012
On Sat, Jan 7, 2012 at 11:19 PM, Wayne Davison <wayned at samba.org> wrote:
> Here's one I did some mild tesing on and it appears to work OK:
I just realized that script would turn the arg "/" into an empty string.
You'll want to fix that if you use the idea. Also, if you want the idiom
to be optional, you could either (1) have the bash script look for an opt
and decide if it should do the stripping, or (2) name the script something
like "rs" or "rsyncs" (or whatever) and use the slash-strip version only
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync