On Tue, May 10, 2011 at 7:51 AM, Ted Gilchrist <egilc...@gmail.com> wrote: > However, I wake up in a cold sweat worrying about supplying the empty string > for source_dir, and thus removing souce_dir, and all it's siblings on > target_machine.
Your best bet is to error-check your args in your script prior to calling rsync. Compare for dangerous things, like an empty string (or "/"), etc. ..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