On Mon, Jan 26, 2015 at 1:52 PM, Stef Bon <stefbon@xxxxxxxxx> wrote: > Hi, > > I'm working on a service/program for Linux which takes care of > managing backupping of folders and the snapshots of those. > > The user can assign forlders he/she want to be backupped (corect > English?), and create a profile for this folder. This profile is about > the files which will be taken into process, and which not. > > As tool to backup and manage the snapshots I use btrfs. > Now in my construction I get a lot of situations like: > > /path/to/snapshots/201501261603/path/to/some/file > > is another version of the same file at: > > /path/to/snapshots/201501252252/path/to/some/file > > is there a way to get the difference between these two files by making > use of btrfs? Snapper has this functionality built into it. I'm not sure if it uses diff or something else. But the Snapper GUI in yast2 on opensuse will let you see what files have changed between snapshots, click on the file and it shows a color coded diff. https://github.com/openSUSE/snapper -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
