OT: Tape less Backup System
Brian K. White
brian at aljex.com
Fri Jan 21 22:41:34 PST 2005
> As it is, since I got turned on to rsync, I've thought it's the next best
> thing since sliced bread. I love it. Except when I accidentally put a /
> on the end of something that I -didn't- want the / on. That's actually
> dangerous. I'm thinking they should have made the behaviour a switch, not
> relied upon syntactical typing of your data source path. Of anything in
> rsync, that's -the- most likely thing to bite someone, IMHO.
rsync is dangerous period, but only because anything powerful is dangerous,
take away the danger, take away the power.
A command line switch wouldn't take away the power, and so it would have
little effect on the danger.
--delete is a command line option that's off by default. That fact didn't
save you. The term "sane defaults" is a valid concept of course, which is
why --delete is not on by default, I'm saying someone like me or you who
routinely type long arcane command lines is not going to be saved by by
having any particular behaviour be harder or easier to invoke. It'll get
invoked just the same.
I mostly just don't use the --delete option except in scripts where the
command being run has been tested and written in stone and it's always ok to
run the script because the dicey parts of using rsync itself have been
previously worked out and verified.
Brian K. White -- brian at aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
More information about the Filepro-list
mailing list