Skip to content

快速開始

BCMR (Better Copy Move Remove) 是一個用 Rust 編寫的現代化檔案操作 CLI 工具,提供進度追蹤、斷點續傳、完整性校驗和 SSH 遠端複製功能。

系統需求

  • macOS (Intel 或 Apple Silicon)、Linux (x86_64) 或 Windows (x86_64)

安裝

bash
brew install Bengerthelorf/tap/bcmr
bash
curl -fsSL https://app.snaix.homes/bcmr/install | bash
bash
cargo install bcmr
bash
git clone https://github.com/Bengerthelorf/bcmr.git
cd bcmr
cargo build --release
# 二進位檔案位於: ./target/release/bcmr

預編譯二進位檔案(包括 Linux musl 靜態連結版本)可在 Releases 頁面 下載。

快速上手

bash
# 複製檔案
bcmr copy document.txt backup/

# 遞迴複製目錄
bcmr copy -r projects/ backup/

# 移動檔案
bcmr move old_file.txt new_location/

# 確認後刪除
bcmr remove -r old_project/

# 乾跑 — 預覽操作但不執行
bcmr copy -r -n projects/ backup/

Shell 整合

可設定 shell 別名,讓 cpmvrm(或自訂前綴)自動使用 BCMR。詳見 Shell 整合

下一步

  • Shell 整合 — 替換或別名原生命令
  • 設定 — 自訂顏色、進度樣式和複製行為
  • CLI 參考 — copy、move 和 remove 的完整命令參考

Released under the GPL-3.0 License.