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 |
|---|---|
|
Path to the project root directory. Defaults to the current working directory. |
|
Silence all confirmation prompts (not recommended). |
|
Print detailed information to the terminal. |
|
Print debug information to the terminal. |
|
Play a sound when the script finishes or needs input. |
|
Print the installed version and exit. |
finish options:
Option |
Description |
|---|---|
|
Keep the temporary cache after |
|
|
Broken links utility¶
The broken-links command (alias bl) scans .blend files in the project
root and reports any broken library links:
remap broken-links
To save the results to a JSON file:
remap broken-links -fp="/path/to/output.json"
Add --overwrite (-ow) to overwrite an existing file.
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 finishwill fail if it detects such changes..blendfiles are saved using thebpyversion bundled with BAR. A warning is shown before proceeding (suppressed with-f).Take care not to split image sequences across the move step.