The CollectAndSave utility allows you to work with Ableton session files (.als) to inspect, check, and collect files used in your sessions.
Supports Live 9 - Live 12 sets
collect_and_save <command> <filepath>- pos 1: Command — one of
xml,check, orsave - pos 2: Filepath (either .als file or directory)
Writes out a gzipped Ableton document into a readable XML format.
The output is sent to stdout and can be redirected to a file.
Example:
collect_and_save xml './myset.als' > data.xmlPerforms a dry-run of collecting and saving files.
Shows which files would be collected and which files are missing.
Example:
collect_and_save check './myset.als'Collects and saves the specified session files.
Files are collected into the parent directory where the Ableton file is located.
Example:
collect_and_save save './myset.als'Prompts file by file if the user wants to collect the missing file
Example:
collect_and_save safe './myset.als'You can save multiple sets by providing a directory instead of a file
Example:
collect_and_save save './my ableton project'- Always ensure that your
.alsfilepaths are correct and accessible from your current working directory. checkmode is safe and does not modify any files — ideal for dry-runs.savemode performs the actual collection of files into the session directory.