mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
List content of tar file
List content of tar file. I recommend reducing amount of options regarding compressed files since on some OS are allowed only in -c mode. Basically : -j : bzip2 -J : xz -z : bzip2 Additionally the extract should manage as tar -xf file no matter which compression.
This commit is contained in:
parent
72870f8e32
commit
09c2d66923
1 changed files with 4 additions and 0 deletions
|
@ -26,3 +26,7 @@
|
|||
- create a compressed archive, using archive suffix to determine the compression programm
|
||||
|
||||
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
||||
|
||||
- list the contents of a tar file
|
||||
|
||||
`tar -tvf {{source.tar}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue