Skip to content

Archives#

cat file in an archive[^1]#

unzip -p archive.zip file1.txt

^1

tar#

# List
tar -tvf archive.tar.gz

# Create
tar -czf archive.tar.gz /path/to/folder

# Extract
tar xf archive.tar.gz -C /path/to/target