Skip to content

CLI Overview

BCMR provides three main commands for file operations, plus shell integration and self-update.

Commands

CommandDescription
copyCopy files and directories
moveMove files and directories
removeRemove files and directories
initGenerate shell integration script
updateCheck for updates and self-update
completionsGenerate shell completion scripts

Common Flags

These flags are shared across copy, move, and remove:

FlagDescription
-r, --recursiveOperate on directories recursively
-f, --forceOverwrite existing files / force removal
-y, --yesSkip confirmation prompts
-v, --verboseExplain what is being done
-e, --exclude <PATTERN>Exclude paths matching regex
-t, --tuiUse plain text progress display
-n, --dry-runPreview operation without making changes

Dry Run

All commands that modify files accept -n / --dry-run. This shows a colored plan of what would happen:

bash
bcmr copy -r -n projects/ backup/
bcmr move -n old_file.txt new_location/
bcmr remove -r -n old_project/

Actions are color-coded: ADD, OVERWRITE, APPEND, MOVE, SKIP, REMOVE.

Released under the GPL-3.0 License.