# 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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/brename>
- **バージョン:** 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>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/shenwei356/brename/archive/refs/tags/v2.14.0.tar.gz>
- **最終更新:** 2026-07-26T10:56:35+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- brename (cli)
- brename (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.14.0
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/shenwei356/brename
- 検出された最新: v2.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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** brename
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [rnr](https://pkg.so/ja/brew/rnr/) - Shares pkgdb curated category or tags: batch-rename, cli, file-management, system.
- [mmv](https://pkg.so/ja/brew/mmv/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [rmtrash](https://pkg.so/ja/brew/rmtrash/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [periscope](https://pkg.so/ja/brew/periscope/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [ddh](https://pkg.so/ja/brew/ddh/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [rmw](https://pkg.so/ja/brew/rmw/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [rmrfrs](https://pkg.so/ja/brew/rmrfrs/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [eza](https://pkg.so/ja/brew/eza/) - Shares pkgdb curated category or tags: cli, file-management, system.
- [chokidar-cli](https://pkg.so/ja/npm/chokidar-cli/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, file, file-management.
- [make-dir-cli](https://pkg.so/ja/npm/make-dir-cli/) - Local package facts share a topical domain. Shared terms: cli, cross, cross-platform, file, file-management.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
