Re: Being VERY careful while using the --delete option

2011-05-13 Thread Wayne Davison
On Tue, May 10, 2011 at 7:51 AM, Ted Gilchrist 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 callin

Re: Being VERY careful while using the --delete option

2011-05-12 Thread Henri Shustak
> On UNIX, I am executing an rsync command, from within a script. The command > goes something like this: > > /usr/bin/rsync --verbose --progress --stats --compress --recursive --times > --perms --links --safe-links source_dir/ > user@target_machine:/parent_path/source_dir > > In other w

Being VERY careful while using the --delete option

2011-05-10 Thread Ted Gilchrist
On UNIX, I am executing an rsync command, from within a script. The command goes something like this: /usr/bin/rsync --verbose --progress --stats --compress --recursive --times --perms --links --safe-links source_dir/ user@target_machine:/parent_path/source_dir In other words, I am replicatin