[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: playing with -s



On Thu, Jan 15, 2015 at 07:54:54PM +0100, Tim van der Molen wrote:
> 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 \\/?

Yep. Tried lots of things before mailing the list.

> That doesn't work either, I see. But what does work is using another
> separation character; e.g. ",foo,bar/baz,p".

<facepalm> But not that one.

Thank you!

==ml

-- 
Michael W. Lucas  -  mwlucas@michaelwlucas.com, Twitter @mwlauthor 
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/