Go away or I will replace you with a very small shell script, actually,,, hang around dude....
March 13, 2008 7:38 PM
Subscribe
Anyone know of a backup script or utility that won't hurt the OLD copy?
Is there any software/script for this situation:
I have two hard drives / directories, one a master backup (A) which is out-of-date, the other is the drive I work with day to day (B).
I'd like to copy/move all the files from B to replace the out-of-date versions on A. However. if I just copy the root directory I lose anything that was on A but not B.
Sort of like a CVS update, but CVS has not been setup previously. like this:
for all files on B
if (file exists on A)
replace A's copy with B's
else
add it
and don't touch any file/dir that's on A but not B.
I've run into this need twice this week and while probably trivial to script out it seems like a need others would have had too, so maybe re-inventing the wheel to write it? (plus I suck at batch scripting)
I can't find the key words to google for it, but this has to exist for unix and windows, right? A handy free backup app that has this feature through configuration would be of great interest too.
posted by oblio_one to computers & internet (9 comments total)
1 user marked this as a favorite
posted by nicwolff at 7:54 PM on March 13, 2008