Re: About the tar extract signal directory~~

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



Majian wrote:
> Hi,all:
> 
> I've couple of large tarballs such as www.tar and images.tar.
>  Is it possible to extract a single file or a list of files from a large
> tarball such as images.tar instead of extracting the entire tarball?
>  How do I extract specific files under Linux / UNIX operating systems?

All versions of *Nix have man pages. These are like WinDoze help, except more 
technically detailed. T use them, do
prompt> man <command or file>

It's possible to see what might be related by doing
prompt> man -k <subject>

man tar

<snip>
EXAMPLES
        tar -xvf foo.tar
               verbosely extract foo.tar

        tar -xzf foo.tar.gz
               extract gzipped foo.tar.gz

        tar -cjf foo.tar.bz2 bar/
               create   bzipped   tar  archive  of  the  directory  bar  called
               foo.tar.bz2

        tar -xjf foo.tar.bz2 -C bar/
               extract bzipped foo.tar.bz2 after changing directory to bar

        tar -xzf foo.tar.gz blah.txt
               extract the file blah.txt from foo.tar.gz
<snip>

	mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux