# brename を Homebrew, scoop でインストール

brename のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:brename
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install brename
```

  証拠: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/brename
```

  証拠: Scoop official bucket manifest trees: bucket/brename.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:brename
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.14.0
- **ソース概要:** Cross-platform command-line tool for safe batch renaming via regular expressions
- **ホームページ:** <https://github.com/shenwei356/brename>
- **リポジトリ:** <https://github.com/shenwei356/brename>
- **最終更新:** 2026-07-26T10:56:35+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- brename (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.14.0
## プロジェクトの歴史と使われ方

brename is a Go command-line batch-renaming tool focused on safe regular-expression based file and directory renames. Its distinguishing features are dry runs, conflict detection, cross-platform path safety, filters, recursive operation, and undo support.

### プロジェクトの歴史

The GitHub repository was created in September 2013. The README presents brename as a practical cross-platform tool for safely batch renaming files and directories via regular expression.

The project evolved around safety checks that plain mv or rename commands do not provide, such as detecting existing targets, newly overwritten paths, empty target paths, and Windows-problematic path endings.

### 採用の歴史

The official README lists prebuilt release binaries for Linux, macOS, and Windows, plus installation through Conda, Homebrew, Arch AUR, Scoop, and source builds. The input package facts also record Homebrew and Scoop packaging.

Its adoption is niche but practical: users who need repeatable bulk renames get a single static-style CLI rather than shelling together find, sed, mv, and platform-specific rename variants.

### 使われ方

The README documents pattern replacement with -p and -r, dry-run mode, include and exclude filters, recursive operation, directory renaming, key-value replacement files, ascending-number replacements, extension preservation, listing matches, and undoing the last successful operation.

Cross-platform safety is a major usage theme. The README calls out case-insensitive filesystems such as FAT and NTFS and documents flags for case-insensitive or case-sensitive path handling.

### パッケージ好きにとっての重要性

brename is not a foundational package, but it is a useful example of a modern single-purpose Go CLI that packages well across Homebrew, Scoop, Conda, and downloadable release archives.

For package maintainers, it sits in the long family of rename tools while emphasizing safety and portability rather than just exposing a regular-expression substitution primitive.

### タイムライン

- 2013-09: The brename GitHub repository was created.
- 2025: Official repository metadata showed activity into August 2025.
- 2025: The README documented brename 2.14.0 release binaries for Linux, macOS, and Windows.

### Related projects

- Traditional Unix mv and rename commands are the simpler tools brename's safety checks are meant to improve upon.
- Go is the implementation language and source-build toolchain named by the README.
- Scoop and Homebrew are package-manager channels documented by the README and input facts.

### ソース

- <https://api.github.com/repos/shenwei356/brename>
- <https://github.com/shenwei356/brename#readme>
- <https://github.com/shenwei356/brename/releases>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Scoop - main/brename: normalized package name match | Scoop official bucket manifest trees: bucket/brename.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/brename.yml](https://github.com/mxcl/pkgdb/blob/main/combined/brename.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
