The settings file
squeeze and unsqueeze share one settings file, ~/.qwiksqueezeconfig. It explains itself, and you can change it in any text editor, or with the commands below. Each setting has an option of the same name that changes it for one command, such as --least-free-space=5GB.
| To |
Type |
| Show every setting and its value |
squeeze --settings |
| Change one setting |
squeeze --set name=value |
| Put one setting back at its starting value |
squeeze --reset name |
| Put every setting back at its starting value |
squeeze --settings-reset |
| Put back any setting that is missing, keeping yours |
squeeze --fix-config |
| Show the built-in starting values |
squeeze --defaults |
| Show every value a command would use, and where each came from |
squeeze --explain with the command's options |
Where each value comes from
First to last, the first that sets a value wins:
- the command line;
SQUEEZEOPT, when set, for squeeze (and zip once taken over); UNSQUEEZEOPT for unsqueeze;
~/.qwiksqueezeconfig;
- the built-in starting values, only while there is no settings file.
Compression methods
| Setting |
Starts as |
Values |
What it does |
compression-method-fastest |
aar-lz4 |
|
The method -Z fastest makes: aar-lz4, aar-lzbitmap, aar-lzfse, aar-zlib, aar-lzma, 7z-0 to 7z-9, or zip-0 to zip-9. |
compression-method-balanced |
7z-1 |
|
The method -Z balanced makes (and squeeze with no -Z): aar-lz4, aar-lzbitmap, aar-lzfse, aar-zlib, aar-lzma, 7z-0 to 7z-9, or zip-0 to zip-9. |
compression-method-smallest |
7z-9 |
|
The method -Z smallest makes: aar-lz4, aar-lzbitmap, aar-lzfse, aar-zlib, aar-lzma, 7z-0 to 7z-9, or zip-0 to zip-9. |
compression-method-portable-fastest |
7z-1 |
|
The method -Z fastest makes while portable-archives is on: 7z-0 to 7z-9, or zip-0 to zip-9. |
compression-method-portable-balanced |
7z-1 |
|
The method -Z balanced makes while portable-archives is on: 7z-0 to 7z-9, or zip-0 to zip-9. |
compression-method-portable-smallest |
7z-9 |
|
The method -Z smallest makes while portable-archives is on: 7z-0 to 7z-9, or zip-0 to zip-9. |
Archives
| Setting |
Starts as |
Values |
What it does |
portable-archives |
off |
on or off |
Only zip and 7z, which Windows and Linux open |
zip-password-7z |
off |
on or off |
Started as zip, a password makes a 7z |
least-password-length |
20 |
6 to 40 |
The least password length |
for-windows |
on |
on or off |
Mark names as Unicode, for Windows |
replace-windows-characters |
off |
on or off |
Replace characters Windows forbids |
leave-out-mac-files |
on |
on or off |
Leave out .DS_Store and ._ files |
dont-recompress |
on |
on or off |
Store what is already compressed |
zip-options |
(empty) |
|
Zip's options added to every command |
Unpacking
| Setting |
Starts as |
Values |
What it does |
leave-out-macosx |
on |
on or off |
Leave out Finder's __MACOSX folder |
least-free-space |
2GB |
a size such as 2GB or 500MB |
The least free space to leave |
largest-growth |
10000 |
1 or more |
The largest growth allowed |
comments-on-unpack |
both |
show, file or both |
Show comments, keep their file, or both |
unzip-options |
(empty) |
|
Unzip's options added to every command |
Writing files
| Setting |
Starts as |
Values |
What it does |
write-over |
off |
on or off |
Write over files that exist |
write-skip |
off |
on or off |
Skip files that exist |
write-new-name |
on |
on or off |
Give a new name ("photo 2.jpg") where one is taken |
write-folders |
off |
on or off |
Make folders that do not exist |
Images
| Setting |
Starts as |
Values |
What it does |
img-compression |
balanced |
lossless, same, balanced or smallest |
Images: the compression |
img-format |
same |
same, png, jpeg or heic |
Images: the format |
img-size |
keep |
keep, 1% to 99%, or a longest side in pixels |
Images: the size |
img-remove |
location,camera,other |
all, camera, date, location, other, or none |
Images: metadata to remove |
img-save-to |
beside |
replace, beside, or a folder |
Images: where to save |
img-name-add |
off |
on or off |
Images: add text to the file name |
img-name-text |
-QS |
|
Images: the text added to names |
img-web-colours |
off |
on or off |
Images: standard web colours |
img-mark |
on |
on or off |
Images: mark with QwikSqueeze history |
img-tag |
none |
none, QwikSqueeze, or a Finder colour |
Images: the Finder tag |
PDFs
| Setting |
Starts as |
Values |
What it does |
pdf-image-compression |
balanced |
lossless, same, balanced or smallest |
PDFs: the images inside |
pdf-file-compression |
balanced |
fastest, fast, balanced, smallest, or 0 to 9 |
PDFs: the file compression |
pdf-a |
on |
on or off |
PDFs: PDF/A |
pdf-remove |
software,editing,private,location |
all, details, editing, location, private, software, title, or none |
PDFs: metadata to remove |
pdf-save-to |
beside |
replace, beside, or a folder |
PDFs: where to save |
pdf-name-add |
off |
on or off |
PDFs: add text to the file name |
pdf-name-text |
-QS |
|
PDFs: the text added to names |
pdf-mark |
on |
on or off |
PDFs: mark with QwikSqueeze history |
pdf-tag |
none |
none, QwikSqueeze, or a Finder colour |
PDFs: the Finder tag |
Font substitutions in PDFs
| Setting |
Starts as |
Values |
What it does |
pdf-font-serif |
Times New Roman |
|
PDFs: the serif fallback |
pdf-font-sans-serif |
Arial |
|
PDFs: the sans-serif fallback |
pdf-font-monospaced |
Courier New |
|
PDFs: the monospaced fallback |
pdf-font |
Arial Narrow=Arial Narrow |
|
PDFs: a font substitution |
pdf-font |
Book Antiqua=Palatino |
|
PDFs: a font substitution |
pdf-font |
Calibri=Helvetica Neue |
|
PDFs: a font substitution |
pdf-font |
Cambria=Georgia |
|
PDFs: a font substitution |
pdf-font |
Candara=Optima |
|
PDFs: a font substitution |
pdf-font |
Century Gothic=Avenir |
|
PDFs: a font substitution |
pdf-font |
Consolas=Menlo |
|
PDFs: a font substitution |
pdf-font |
Garamond=Hoefler Text |
|
PDFs: a font substitution |
pdf-font |
Lucida Console=Menlo |
|
PDFs: a font substitution |
pdf-font |
Symbol=Symbol |
|
PDFs: a font substitution |
pdf-font |
Tahoma=Tahoma |
|
PDFs: a font substitution |
pdf-font |
Wingdings=Wingdings |
|
PDFs: a font substitution |
The whole file
As squeeze --fix-config writes it, with every setting at its starting value:
# QwikSqueeze settings
#
# The settings squeeze and unsqueeze use whenever a command doesn't say otherwise.
# Change a value after its = sign, one setting to a line. A line starting with # is a
# note, as is the rest of a line after a #. 'squeeze --settings' shows every value in
# use, and 'squeeze --fix-config' puts back any setting that is missing, keeping yours.
#
# Written by squeeze 1.0 (Build …) on Sunday 6 December 2026 at 10:28 am.
settings-version = 2
# == Compression methods =================================================================
# What -Z fastest, balanced and smallest make; squeeze with no -Z uses balanced.
# Values: aar-lz4, aar-lzbitmap, aar-lzfse, aar-zlib, aar-lzma, 7z-0 to 7z-9, or zip-0 to zip-9.
# The portable ones are used while portable-archives is on, and take 7z-0 to 7z-9, or zip-0 to zip-9.
compression-method-fastest = aar-lz4
compression-method-balanced = 7z-1
compression-method-smallest = 7z-9
compression-method-portable-fastest = 7z-1
compression-method-portable-balanced = 7z-1
compression-method-portable-smallest = 7z-9
# == Archives ============================================================================
# Making archives with squeeze, and with zip once zip and unzip are taken over.
portable-archives = off # on or off
zip-password-7z = off # on or off
least-password-length = 20 # 6 to 40
for-windows = on # on or off
replace-windows-characters = off # on or off
leave-out-mac-files = on # on or off
dont-recompress = on # on or off
zip-options =
# == Unpacking ===========================================================================
# Unpacking with unsqueeze, and with unzip once zip and unzip are taken over.
leave-out-macosx = on # on or off
least-free-space = 2GB # a size such as 2GB or 500MB
largest-growth = 10000 # 1 or more
comments-on-unpack = both # show, file or both
unzip-options =
# == Writing files =======================================================================
# When a file being written already exists, for squeeze and unsqueeze.
write-over = off # on or off
write-skip = off # on or off
write-new-name = on # on or off
write-folders = off # on or off
# == Images ==============================================================================
# Making images smaller with squeeze --img.
img-compression = balanced # lossless, same, balanced or smallest
img-format = same # same, png, jpeg or heic
img-size = keep # keep, 1% to 99%, or a longest side in pixels
img-remove = location,camera,other # all, camera, date, location, other, or none
img-save-to = beside # replace, beside, or a folder
img-name-add = off # on or off
img-name-text = -QS
img-web-colours = off # on or off
img-mark = on # on or off
img-tag = none # none, QwikSqueeze, or a Finder colour
# == PDFs ================================================================================
# Making PDFs smaller with squeeze --pdf.
pdf-image-compression = balanced # lossless, same, balanced or smallest
pdf-file-compression = balanced # fastest, fast, balanced, smallest, or 0 to 9
pdf-a = on # on or off
pdf-remove = software,editing,private,location # all, details, editing, location, private, software, title, or none
pdf-save-to = beside # replace, beside, or a folder
pdf-name-add = off # on or off
pdf-name-text = -QS
pdf-mark = on # on or off
pdf-tag = none # none, QwikSqueeze, or a Finder colour
# == Font substitutions in PDFs ==========================================================
# A PDF made PDF/A can't keep a font it uses but doesn't carry: each pdf-font line names
# the one to use in its place, FROM=TO, and the three fallbacks cover any other font.
# Add or remove pdf-font lines as you like.
pdf-font-serif = "Times New Roman"
pdf-font-sans-serif = Arial
pdf-font-monospaced = "Courier New"
pdf-font = "Arial Narrow=Arial Narrow"
pdf-font = "Book Antiqua=Palatino"
pdf-font = "Calibri=Helvetica Neue"
pdf-font = Cambria=Georgia
pdf-font = Candara=Optima
pdf-font = "Century Gothic=Avenir"
pdf-font = Consolas=Menlo
pdf-font = "Garamond=Hoefler Text"
pdf-font = "Lucida Console=Menlo"
pdf-font = Symbol=Symbol
pdf-font = Tahoma=Tahoma
pdf-font = Wingdings=Wingdings