in reply to Re: Version control system for the laziest of the lazy
in thread Version control system for the laziest of the lazy

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.
  • Comment on Re^2: Version control system for the laziest of the lazy

Replies are listed 'Best First'.
Re^3: Version control system for the laziest of the lazy
by Voronich (Hermit) on Apr 07, 2011 at 16:51 UTC
    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

        For what I'm planning on using this for... I wouldn't bother. But it wouldn't be tough to sync up based on "base name."
        Me