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

purge-roms

Forgets ROM files that went missing or that no ROM references, and deletes the files in every Trash directory, the ROM directory’s own included. --foreign deletes files in the ROM directory that the database doesn’t know. Directories left empty are deleted, except the ROM, system and Trash directories. An ORE store’s files are never foreign; the chunks of games purged stay in it until compact-roms, and the store is deleted once its last game is purged. purge-roms also deletes legacy .update-partitions entries once no WUA in the database references them, keeping them all if any WUA cannot be read.

Purge trashed, missing, and orphan ROM files

Usage: oxyromon purge-roms [OPTIONS]

Options:
  -m, --missing  Delete missing ROM files from the database
  -o, --orphan   Delete ROM files without an associated ROM from the database
  -t, --trash    Physically delete ROM files from the trash directories
  -f, --foreign  Physically delete ROM files unknown to the database
  -y, --yes      Automatically say yes to prompts
  -h, --help     Print help