

That will extract the content of the file (sandbox folder) in the current directory.

If any files are named on the command line, only those files will be extracted from the archive.įor example, to extract our previously created file you should use the command: tar -xvzf sandbox_

If your system uses GNU tar, you can easily use gzip (the GNU file compression program) in conjunction with tar to create compressed files with the command line following the next command syntax: tar -zcvf The most common use for tar is to simply combine a few files into a single file, for easy storage and distribution. TAR stands for tape archiving, the storing of entire file systems onto magnetic tape, which is one use for the command. Many modern Unix systems, such as Linux, use GNU tar, a version of tar produced by the Free Software Foundation.
