Cookbook
filerepack covers many formats. This page is a task-oriented index: find the row that sounds like you, then follow the linked reference sections. If you are completely new, do the five-minute quickstart first.
| You are a… | You want to… | Start with |
|---|---|---|
| Office user | Shrink Word, Excel, PowerPoint, or ODF files without opening them | repack document.docx |
| Archivist | Recompress ZIP / 7z / RAR / tar trees and nested members | repack archive.zip, repack photos.tar.gz |
| Photo or media librarian | Lossless (or opt-in lossy) images, video, and audio | bulk ./photos --include-ext jpg,png,webp |
| Records manager | Shrink PDFs losslessly, or downsample scans | repack scan.pdf, --lossy |
| Ops / sysadmin | Walk a directory tree with jobs, filters, and progress | bulk ./documents --jobs auto --progress |
| Data engineer | Recompress Parquet, SQLite, ORC, Avro, HDF5 | repack data.parquet --ultra |
| Application developer | Call the same packers from Python | FileRepacker, RepackOptions |