7
3
I've got a lot of "binary media", which I'll abstract away as "MP3s". I've also got several computers that I'd like to have the whole library on - a desktop, media box, a laptop here or there, etc. In short, it would be nice to be able to sync all these machines with each other such that they all have the same stack of files.
A Version Control system, as opposed to an rsync/robocopy lashup, in the rough sense seems like the way to go. First, there are several OSs involved (Windows, Mac, Linux flavors). Second, it would be nice if when ID3 tags and such are updated, the system could just update the file delta, not re-copy the whole file. (Finally, being able to update the library over the internet, rather than the lan, would be very cool.)
But your classic CVS/SVN system has the obvious drawback of needing a full repository to work, and I'd really rather not have two copies of my 60gb+ MP3 folder sitting on a machine somewhere, as well as not traditionally dealing with binary deltas very well.
So, Distributed Version Control starts sounding pretty good at this point. Mercurial, git, and bazaar all look good on paper, but I don't have any experience with any of them. Has anyone tried to set up a "binaries-only" DVCS with any of them? Any recommendations? Pitfalls?
Didn't you hear?
rsync
exists specifically to avoid copying the entire files when you do that. – SamB – 2010-04-19T16:40:41.150@SamB: Well, sure. And if the machines involved weren't primarily windows machines without either rsync or SSH installed, I'd have just done that first. ;) The DVCS idea was an attempt to solve the cross-platform issue without having to get a full unix subsystem running on the windows boxen just to copy some mp3s, you know? – Electrons_Ahoy – 2010-04-26T23:04:55.537
@Electrons_Ahoy: ah. yeah, there does seem to be a lack of a nice, easy-to-install, easy-to-use rsync client that doesn't require installing all of Cygwin... – SamB – 2010-04-28T00:15:17.650
4Have you checked typical deltas for media file updates? My guesstimate is that they'll be almost as large as the original file. – None – 2009-08-11T21:40:28.940
@nagul: exactly! I was hoping someone knew of a DVCS that did binary deltas that weren't that big. – Electrons_Ahoy – 2009-08-11T22:23:33.910
Uh Oh. Battle of the versioning systems... – bgw – 2009-08-12T04:07:29.153
1@Electrons_Ahoy: I think both SVN and Git do binary deltas. Problem is that if you do anything with the sound data your MP3s will be recompressed. That likely changes every single bit. Delta compression will not help anything here. If you rarely modify the sound data and usually just edit ID3 tags things are different. – Ludwig Weinzierl – 2009-08-12T12:59:18.907
git-annex makes git work more like it sounds like you want – derobert – 2012-11-26T21:08:22.183