mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:15:26 +02:00
tar: update multiple file tokens
This commit is contained in:
parent
8155343033
commit
4d8a24c6a5
1 changed files with 3 additions and 3 deletions
|
@ -6,11 +6,11 @@
|
|||
|
||||
- Create an archive from files:
|
||||
|
||||
`tar cf {{target.tar}} {{file1 file2 file3}}`
|
||||
`tar cf {{target.tar}} {{file1}} {{file2}} {{file3}}`
|
||||
|
||||
- Create a gzipped archive:
|
||||
|
||||
`tar czf {{target.tar.gz}} {{file1 file2 file3}}`
|
||||
`tar czf {{target.tar.gz}} {{file1}} {{file2}} {{file3}}`
|
||||
|
||||
- Extract a (compressed) archive into the current directory:
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
- Create a compressed archive, using archive suffix to determine the compression program:
|
||||
|
||||
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
||||
`tar caf {{target.tar.xz}} {{file1}} {{file2}} {{file3}}`
|
||||
|
||||
- List the contents of a tar file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue