[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: playing with -s
Tim van der Molen (2015-01-15 17:15 +0100):
> Michael W. Lucas (2015-01-15 16:04 +0100):
> > I want to substitute a
> > multi-part path, which means I have to escape /.
> >
> > # tarsnap -xf etctest -s /^etc/var\/dr\/etc/p
> > tarsnap: Invalid replacement flag d
> >
> > How can I escape characters in -s? Or am I missing something?
>
> The shell also interprets escaped characters. Have you tried \\/?
That doesn't work either, I see. But what does work is using another
separation character; e.g. ",foo,bar/baz,p".