Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Version control system for the laziest of the lazy

by Voronich (Hermit)
on Apr 07, 2011 at 16:09 UTC ( #898105=note: print w/ replies, xml ) Need Help??


in reply to Version control system for the laziest of the lazy

Exactly what I need MOST of the time.

Sure, definitive source versions end up in clearcase. But most of the time I'm fiddling around in ~/scrapbin and don't have anything definitive enough to actually check in, but still want to fuddle around and keep iterations.

What I may do is rip this to teeny pieces and add an "only create a backup if it would be different" feature.

Then I'd just include it in my "every 5 second" build/test loop

Me


Comment on Re: Version control system for the laziest of the lazy
Re^2: Version control system for the laziest of the lazy
by toolic (Chancellor) on Apr 07, 2011 at 16:20 UTC
    only create a backup if it would be different
    I've been wanting a simple "backup every file in my directory if it has changed since the last backup" feature myself, but just haven't gotten to it.
      I was thinking about this over lunch and I realized that to TRULY capture the spirit of this script the right thing would be to de-dupe the backup directory afterwards, perhaps create a second shell script that grabbed MD5s of files in a directory with matching base filenames and removed later ones that matched.
      Me

        How would you handle deletes?

        --MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://898105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-08-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (174 votes), past polls