All tags
archive
- Tip
tar --exclude-vcs -czf project.tar.gz project/tar --exclude-vcs leaves .git folders out of an archiveLeaves .git and other version control folders out of a tar archive.3 Dec 2026 - Tip
zip -r site.zip site -x '*.DS_Store' '*/.git/*'zip -x keeps .DS_Store and .git out of a zip fileLeaves Mac and git clutter out of a zip archive you make in the terminal.27 Nov 2026 - Tip
unzip -j archive.zip -d out/unzip -j extracts files without recreating the foldersUnpack the files of a zip flat into one directory, ignoring its folder structure3 Dec 2026 - Tip
unzip -l site.zipunzip -p prints files inside a zip without unpacking itRead or pipe a single file from a zip archive without extracting everything.1 Dec 2026 - Tip
tar -xzf app-2.4.1.tar.gz -C /mnt/user/appdata/app --strip-components=1tar --strip-components=1 drops the top folder when you unpackUnpacks an archive straight into an existing folder without the extra version folder.27 Nov 2026 - Tip
zipgrep db_host backup.zipzipgrep searches the text inside a zip without unpacking itFind which file in an archive mentions a word, without extracting anything.1 Dec 2026 - Tip
zstd -b1 -e19 app-backup.tarzstd -b1 -e19 benchmarks every compression level on your own fileMeasures ratio and speed of each zstd level on your data, so you can pick one.27 Nov 2026 - Tip
tar -tf backup.tar.gz | headtar -tf lists an archive without unpacking itShows what is inside a tar archive without extracting it, and pulls out a single file.19 Nov 2026
Nothing matches.