On Sat, Jan 7, 2012 at 11:19 PM, Wayne Davison <way...@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 when desired. ..wayne..
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html