bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] GNU TAR "JUNK" Directory Question


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] GNU TAR "JUNK" Directory Question
Date: Fri, 30 Sep 2005 13:24:47 +0300

Wagner, Eric <address@hidden> wrote:

> I go to /nfs/oracle_area51/eew/arch and run:
> 
>       /usr/local/bin/tar -ztvf eric_test.09292005 
> 
> I end up with /nfs/oracle_area51/eew/arch/nfs/oracle_area51/eew/arch
> 
> We would like to just be able to extract the files - without directories - in 
> the arch directory.

Run

   tar -xf eric_test.09292005 --strip=4

Option --strip-components removes the given number of directory
components from the file name before extracting. You will need at least
tar 1.14 for that.

Regards,
Sergey




reply via email to

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