1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/common/tar.md
2014-01-29 22:58:24 +01:00

16 lines
305 B
Markdown

# tar
> Archiving utility
> Optional compression with gzip / bzip
- create an archive from files
`tar cf {{target.tar}} {{file1 file2 file3}}`
- create a gzipped archive
`tar cfz {{target.tar.gz}} {{file1 file2 file3}}`
- extract an archive in a target folder
`tar xf {{source.tar}} -C {{folder}}`