Wagner, Eric <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-tar mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-tar
