[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-btrfs
Subject:    btrfs subvol diff
From:       "Dipl.-Ing. Michael Niederle" <mniederle () gmx ! at>
Date:       2010-03-26 21:38:31
Message-ID: 20100326223831.4fc45d20 () simplux
[Download RAW message or body]

> It is possible to combine the commands max-gen and find-new ? Something like:
> 
> 	$ btrfs subvol find-new subvol1 snap1

I had very similar thoughts myself.

If we compare two snapshots (of the same subvolume) we wouldn't need timestamps
either, e.g.:

btrfs subvol diff <old_snapshot> <new_snapshot>

The output could be a list of files (and directories); each line prefixed with
a plus sign (for new or modified files) or a minus sign (for deleted files).

The output could be easily postprocessed using grep and cut.

Greetings, Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic