help-tar
[Top][All Lists]
Advanced

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

Re: [Help-tar] Newbie Help-Windows GNU TAR


From: Sam Douglas
Subject: Re: [Help-tar] Newbie Help-Windows GNU TAR
Date: Sat, 9 Sep 2006 11:44:38 +1200

Hey,
Have you tried using the -C option (--directory) to change to the directory you want the files in before extracting them?

The other thing to check may be that absolute paths are not being stored in the tarball - i.e. tar is not storing "C:\file\of\doom.txt" in the archive itself, using tar --list --file=archive_file.tar

-Sam


On 9/9/06, ak2 < address@hidden> wrote:

Hi.  I'm a newbie and have read the man info for this but haven't found an
answer.  I am using a build of GNU tar for Windows (v1.13).  I am attempting
to use to Tar to Tar a directory struction and save the resulting file to a
different location on a different drive (i.e. source files on local disk but
Tar file to be saved to a network drive).  I am also trying to find the
syntax to extract files from a TAR file to a different location (including
different drive).

I have followed the syntax in the tar --help pages as well as scoured the
web for info regarding this.  I thought that it would be as simple as (for
extracting): "tar --extract --file=archive_file.TAR c:\testing".
When I execute this command however, it tries to un-tar the files to their
original location instead of "c:\testing".

Any ideas?

Thanks,

ak2


--
View this message in context: http://www.nabble.com/Newbie-Help-Windows-GNU-TAR-tf2239575.html#a6210541
Sent from the Gnu - Tar - Help forum at Nabble.com.



_______________________________________________
Help-tar mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-tar


reply via email to

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