Home/Features/Command Line Tools

Command Line Tools Shipped

The same engine, scriptable — for imports, bulk repair and anything you want to automate.

EZLibraryCLI ships alongside the app and runs the same core code with the same safety rules: a backup before every write, atomic file replacement, and a refusal to run while Serato is open.

It exists for the jobs that are painful in a GUI — importing a folder from a script, or repairing thousands of library entries in one pass.

What it does

  • Scripted import. Import files and folders with a chosen mode, destination and crate prefix, and wire it into whatever else you run.
  • Bulk location repair. repair-locations re-points Serato's library at where files actually are, for a library knocked out of sync by an old move or consolidation.
  • Preview by default. repair-locations shows you what it would change and writes nothing until you pass --apply.
  • Reports rather than guesses. Anything it cannot match with confidence is listed as unresolved instead of being repaired on a hunch.

How to use it

  1. Import a folder

    Move files into your library and file them under a dated crate prefix:
    swift run EZLibraryCLI \
      --mode move \
      --destination "$HOME/Music" \
      --crate-prefix "New Music" \
      -- ~/Downloads/incoming
  2. Preview a repair

    swift run EZLibraryCLI repair-locations \
      --search /Volumes/Music
  3. Apply it

    Re-run the same command with --apply once the preview looks right. Serato has to be closed.

Run swift run EZLibraryCLI --help for the full option list, including --library-dir for pointing at a specific _Serato_ folder.

Related

Try it on your own library

Free and open source. Takes a backup before it touches anything.

v1.0.2 · 9.1 MB · macOS 13+ · Apple Silicon & Intel