> > > restore -m '^/(|home(|/username(|/Desktop(|/.*$' /dev/sdb2 /output
> >
> > But that example is just bonkers
>
> I agree ugly, but why bonkers (I understand that to mean silly) ?
Well, I guess I mean that it's so ugly that we can't reasonably expect
people to use it :).
> I like the id
Hi Zach,
Zach Brown wrote:
> > 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
>
> But that example is just
> The option -m is used to specify the regex string. -c is used to
> specify case insensitive matching. -i was already taken.
I guess that's cool if someone really wanted to use the full power of
regexes.
> In order to restore only a single folder somewhere in the btrfs
> tree, it is unfortunatel
From: Peter Stuge
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.:
restor