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

Re: playing with -s



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 \\/?