Formatted all pages according to guidelines.

This commit is contained in:
Ruben Vereecken
2016-01-07 18:31:27 +01:00
parent efa4cbd4de
commit 066582e8ea
284 changed files with 1338 additions and 1364 deletions

View File

@@ -1,32 +1,32 @@
# tar
> Archiving utility
> Optional compression with gzip / bzip
> Archiving utility.
> Optional compression with gzip / bzip.
- create an archive from files
- Create an archive from files:
`tar cf {{target.tar}} {{file1 file2 file3}}`
- create a gzipped archive
- Create a gzipped archive:
`tar czf {{target.tar.gz}} {{file1 file2 file3}}`
- extract an archive in a target folder
- Extract an archive in a target folder:
`tar xf {{source.tar}} -C {{folder}}`
- extract a gzipped archive in the current directory
- Extract a gzipped archive in the current directory:
`tar xzf {{source.tar.gz}}`
- extract a bzipped archive in the current directory
- Extract a bzipped archive in the current directory:
`tar xjf {{source.tar.bz2}}`
- create a compressed archive, using archive suffix to determine the compression program
- Create a compressed archive, using archive suffix to determine the compression program:
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
- list the contents of a tar file
- List the contents of a tar file:
`tar tvf {{source.tar}}`