|
|
How to use 'cp' as a simple but reliable backup tool
@zkarj:
The problem with rsync is that it is capable of doing stuff to my source directory. Given the documentation is not easy to understand (for me at least), I opted for a command that I could be sure would not touch my source directory. Get your options wrong with rsync and you could end up deleting original files. The first presumption that cp gives is "I'm not endangering my source files". It copies from a to b. Period. Sorry to join the mob but, I think the fear factor there is a bit exaggerated. There is only one rsync "option" which behaves that way... and it requires the user to type the following twenty one c.h.a.r.a.c.t.e.r.s: --remove-source-files Nothing ambiguous or mystical about that. So long as that exact string is not used... there's nothing to fear (as far as the source files are concerned). Other than those comments, i thought your hint was fine (in the context of RAW files). -HI-
How to use 'cp' as a simple but reliable backup tool
Not if you already know that fact. (And now I do, thank you.)
How to use 'cp' as a simple but reliable backup tool
@zkarj:
It's touted as a two-way syncing tool.Two-way syncing tool?!? No... it's not. And this is the first time i've heard that particular misinformaton being touted. (if anything, people sometimes complain that rsync *doesn't* do bidirectional syncs). Perhaps you're thinking of of Unison. Unless I understand it, I'm not trusting it to leave my source files alone. I think you'd agree the prospect of deleting your only copy of a photo while intending to back it up is the definition of a pretty bad day.Folks are far more likely to accidently delete stuff by not properly escaping\ a\ space\ in some pathname, than risk their source files when running rsync (and somehow adding the --remove-source-files option by "mistake"). |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.20 seconds |
|