Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Command Overview

All commands follow the pattern fotobuch <command> [options]. Run fotobuch --help or fotobuch <command> --help for details, or see the Full Flag Reference.

Your original photos are never modified. fotobuch only reads your source files to create cached copies at the configured DPI. Commands like remove delete photos from the project YAML — your originals on disk are untouched.

Commands at a glance

CommandWhat it does
project newCreate a new photobook project
project listList all projects in the current repo
project switchSwitch to another project (checks out its Git branch)
addImport photos or folders into the project
removeDelete photos from the project entirely
placeAssign unplaced photos to pages
unplaceRemove photos from their page slots (they stay in the project)
buildSolve layout and render preview PDF
build releaseRender final PDF at full resolution (300 DPI)
rebuildRe-run the solver on specific pages
page moveMove photos between pages
page swapSwap pages or slots
page splitSplit a page at a slot
page combineMerge pages together
page infoShow photo metadata for slots on a page
page weightSet the area weight for one or more slots
page modeToggle a page between auto (solver) and manual placement
page posMove or scale slots on a manual-mode page
statusShow project overview (or single-page detail)
config showPrint the resolved configuration with all defaults
config setSet a config value using dot-notation (e.g. book.dpi 150)
historyShow the project change log
undoUndo the last N changes
redoRedo N undone changes

For all flags and exact syntax see the Full Flag Reference. For available config keys see Configuration.

remove vs. unplace

  • remove deletes photos from the project. They are gone (unless you undo).
  • unplace takes photos off their page but keeps them in the project. They become unplaced and can be re-placed with fotobuch place.

Use remove --keep-files if you want remove-like pattern matching but unplace-like behaviour (photos stay, just lose their page assignment).

build vs. rebuild

  • build renders the PDF and only re-solves pages that changed since the last build. On the first run it solves everything.
  • rebuild --page N forces the solver to re-optimize page N from scratch, even if nothing changed. Useful when you’re not happy with a layout.
  • rebuild --all re-solves every page.