On Thu, Mar 18, 2010 at 9:48 AM, Mac User FR wrote:
> Wouldn't it be better to use conditional expressions from sh with a smaller
> footprint than rsync --list to check if the directory exists?
> I think on something like:
>
> -d file
> True if file exists and is a directory.
>
> (sou
Yes, it'll sync the source directory (now empty) to Server B, deleting
everything due to the --delete option.
One solution I use is to place a check for the existence of a subdirectory
just before the rsync command in the script. This was you can make rsync
contingent on the existence of that sub