[Techtalk] tar question

Kathryn Hogg kjh at flyballdogs.com
Sat Feb 24 02:10:57 UTC 2007

Maria McKinley wrote:
> Is it possible to give the directory you are tarring a new name in your
> tar file, or do you have to change the name of the directory and then
> tar it for this to work?

If you are using gnu tar and the directory that you want to change is the
first one in tar file, the --strip-components $number option might be


More information about the Techtalk mailing list