38 words
1 minutes
Snippet: Create Tar Archives With or Without Zstandard Compression

Snippet: Create Tar Archives With or Without Zstandard Compression#

# Create an uncompressed tar archive
tar -cvf archive.tar folder
tar -cvf archive.tar .

# Create a Zstandard-compressed tar archive
tar -cf - . | zstd -T0 -19 -o ../archive.tar.zst
Snippet: Create Tar Archives With or Without Zstandard Compression
https://blog.juyung.com/posts/en/2026/10/20-9/
Author
Jay Juyung
Published at
2026-10-20
License
CC BY