Usage

Run remap -h at any time to print the full command reference.

Workflow

BAR works in two phases: a start snapshot before you move any files, and a finish pass that repairs links by comparing the two snapshots.

1. Backup

Back up your project to a location outside the project root folder. BAR provides no mechanism to recover lost or corrupted data.

2. Start

Run the start command from the project root folder:

remap start

To specify the root folder explicitly:

remap -rp="/path/to/project" start

This records the current state of the root folder for later use by finish.

3. Move files

Move or rename files within the project root folder using any file manager.

Warning

Between start and finish:

  • Do not open or edit file contents.

  • Do not move files outside the project root.

  • Do not delete or duplicate files.

  • Do not add new files.

  • If you use Git or SVN, use their move commands (git mv) so history is preserved.

4. Finish

Run the finish command from the same root folder:

remap finish

Or with an explicit root path:

remap -rp="/path/to/project" finish

BAR compares the start snapshot with the current state of the root folder and rewrites the affected links inside every .blend file.

Options

Global options (available to all commands):

Option

Description

-rp, --root-path

Path to the project root directory. Defaults to the current working directory.

-f, --force

Silence all confirmation prompts (not recommended).

-v, --verbose

Print detailed information to the terminal.

-d, --debug

Print debug information to the terminal.

-s, --sound

Play a sound when the script finishes or needs input.

--version

Print the installed version and exit.

finish options:

Option

Description

-kc, --keep-cache

Keep the temporary cache after finish completes.

-r, --relative-links

1 to convert fixed links to relative, 0 to convert to absolute.

Crash recovery

If remap finish is interrupted mid-run, simply run it again with the same arguments. It will resume from where it left off.

Do not run remap start again before finishing — that resets the snapshot and requires you to revert all moves from your backup.

Limitations

  • BAR cannot fix links to files that were moved outside the project root.

  • Remapping applies to whole files only. Links to data blocks renamed or moved within files are not affected, and remap finish will fail if it detects such changes.

  • .blend files are saved using the bpy version bundled with BAR. A warning is shown before proceeding (suppressed with -f).

  • Take care not to split image sequences across the move step.