diff options
author | Peter Stuge <peter@stuge.se> | 2011-11-25 01:03:58 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-08-09 14:32:29 +0200 |
commit | e35450fa53139572afdd759619610cc7f5277626 (patch) | |
tree | c85605727dd8fc2c5ead298d1fbff1489a401da6 /qgroup.h | |
parent | 3d86ac20b74a736c4b7e0881dac5ff4d3dbbcd11 (diff) |
restore: Add regex matching of paths and files to be restored
The option -m is used to specify the regex string. -c is used to
specify case insensitive matching. -i was already taken.
In order to restore only a single folder somewhere in the btrfs
tree, it is unfortunately neccessary to construct a slightly
nontrivial regex, e.g.:
restore -m '^/(|home(|/username(|/Desktop(|/.*))))$' /dev/sdb2 /output
This is needed in order to match each directory along the way to the
Desktop directory, as well as all contents below the Desktop directory.
Signed-off-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'qgroup.h')
0 files changed, 0 insertions, 0 deletions