1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2025-06-14 22:27:33 +02:00

Update tar.md to show file-listing (#2162)

This commit is contained in:
Morten Siebuhr 2024-09-24 15:23:51 +02:00 committed by GitHub
parent 1fa8ae160f
commit 25eaa9a78c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
tar.md
View File

@ -33,6 +33,12 @@ tar -xzf archive.tar.gz -C /target/directory
tar -zu archive.tar.gz -C /target/file
```
```shell
# List files in archive
# Add -v for additional details
tar -tzf archive.tar.gz
```
### Common options
| Option | Description |