<div class="gmail_quote">On Sat, Jan 7, 2012 at 11:19 PM, Wayne Davison <span dir="ltr"><<a href="mailto:wayned@samba.org">wayned@samba.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div class="im">Here's one I did some mild tesing on and it appears to work OK:</div></div></blockquote><div><br></div><div>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 when desired.</div>
</div><div><br></div>..wayne..<br>