Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Version control system for the laziest of the lazy

by Voronich (Hermit)
on Apr 07, 2011 at 16:09 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Version control system for the laziest of the lazy
by toolic (Bishop) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://898105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-03-19 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found