Anil Garg disturbed my sleep to write:
> p.s. i looked earlier at -t, infact i was also trying to use -x with -t.
Logical enough, but not correct. -t and -x are mutually exclusive. -t means
"just list the contents"; -x means "extract the contents" (ie, get files out of
the tarball). The tar com
thanx
anil
p.s. i looked earlier at -t, infact i was also trying to use -x with -t.
-Original Message-
From: Willie Viljoen [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 21, 2003 1:39 PM
To: [EMAIL PROTECTED]
Subject: Re: new bie (tar command)
On Friday 21 February 2003 20:29
On Fri, Feb 21, 2003 at 01:29:41PM -0500, Anil Garg wrote:
> How can i see the contents of a .tar or .tgz file without extracting
> it.( i couldnt find that in man tar)
>
> Thanx
> anil (FreeBSD user)
take at look at the -t option in the tar manpage.
Nathan
--
GPG Public Key ID: 0x4250A04C
gp
On Fri, Feb 21, 2003 at 01:29:41PM -0500, Anil Garg wrote:
> How can i see the contents of a .tar or .tgz file without extracting
> it.( i couldnt find that in man tar)
>
Mmm.. from "man tar"
-t
--list List the contents of an archive; if filename arguments are
given, only those files are
On Friday 21 February 2003 20:29, Anil Garg wrote:
> How can i see the contents of a .tar or .tgz file without extracting
> it.( i couldnt find that in man tar)
tar -ztvf tarball.tgz
Incidentally, this is in the man page :)
-t
--list List the contents of an archive; if filename arg
On Fri, 21 Feb 2003, Anil Garg wrote:
> How can i see the contents of a .tar or .tgz file without extracting
> it.( i couldnt find that in man tar)
>
> Thanx
> anil (FreeBSD user)
>
tar -tf archive.tar or tar -ztf archive.tar.gz
Rgds
Rus
--
http://www.65535.net | MSN: [EMAIL PROTECTED]
Lifetime