Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2003 20:39:20 +0200
From:      Willie Viljoen <will@unfoldings.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: new bie (tar command)
Message-ID:  <200302212039.20343.will@unfoldings.net>
In-Reply-To: <C2A515E590B43D4BBB9898AAA0710DB76CDA99@mjoffice.mj.niksun.com>
References:  <C2A515E590B43D4BBB9898AAA0710DB76CDA99@mjoffice.mj.niksun.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 arguments are
                   given, only those files are listed, otherwise the entire
                   table of contents is listed.


>
> Thanx
> anil (FreeBSD user)
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Willie Viljoen
Freelance IT Consultant

214 Paul Kruger Avenue, Universitas
Bloemfontein
9321
South Africa

+27 51 522 15 60
+27 51 522 44 36 (after hours)
+27 82 404 03 27 (mobile)

will@unfoldings.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302212039.20343.will>