Date: Mon, 18 Jan 1999 12:46:34 -0600 (CST) From: "Jasper O'Malley" <jooji@webnology.com> To: "Marko's Work" <marko@websorcery.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: about tar Message-ID: <Pine.LNX.4.02.9901181244400.29320-100000@mercury.webnology.com> In-Reply-To: <01be430e$656259a0$9d83b7d1@vidbox>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Jan 1999, Marko's Work wrote: > If I have a large tar file (ex/ backup.tgz), how would i go about > extracting just one file from the archive (without extracting the path > or anything else)?? Specify the filename as an argument to tar: tar xzf backup.tgz path/to/file/in/tarfile To see a list of the files in the tarball, do: tar tvzf backup.tgz (Leave out the "z" option in both commands if it's just a .tar archive, and not a .tgz or .tar.gz). Cheers, Mick The Reverend Jasper P. O'Malley dotdot:jooji@webnology.com Systems Administrator ringring:asktheadmiral Webnology, LLC woowoo:http://www.webnology.com/~jooji 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?Pine.LNX.4.02.9901181244400.29320-100000>