bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] TAR strip leading paths


From: Tomas M
Subject: Re: [Bug-tar] TAR strip leading paths
Date: Wed, 24 Jan 2007 09:33:25 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

> tar --create --file=output.tar \
>    -C /var/modules . -C /usr/local/modules .

Thank you very much, this makes the trick! :) I knew the -C option, but I didn't know that it may be used many times at once with different directories like in your example.

Regarding --strip-components and --strip-path, I can't see these in 'man tar', so perhaps the man page would need an update (a suggestion for developers :).

I searched for 'strip' in man and I found only '-P'.
I'm using tar 1.16.1.


Thank you

Tomas M
slax.org








reply via email to

[Prev in Thread] Current Thread [Next in Thread]