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:
@@ -26,3 +26,7 @@
|
|||||||
- create a compressed archive, using archive suffix to determine the compression programm
|
- create a compressed archive, using archive suffix to determine the compression programm
|
||||||
|
|
||||||
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
`tar caf {{target.tar.xz}} {{file1 file2 file3}}`
|
||||||
|
|
||||||
|
- list the contents of a tar file
|
||||||
|
|
||||||
|
`tar -tvf {{source.tar}}`
|
||||||
|
Reference in New Issue
Block a user