Automic VaultAutomic Vault

brew

Install brename with Homebrew, scoop

Cross-platform command-line tool for safe batch renaming via regular expressions. Version 2.14.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install brename

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/brename

Scoop official bucket manifest trees · bucket/brename.json · source: api.github.com

overview

Package summary

Cross-platform command-line tool for safe batch renaming via regular expressions

Commands and aliases

  • brename

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
brenamecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.14.0
manager updated
local dataok
upstreamcurrent
latest detectedv2.14.0

https://github.com/shenwei356/brename

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:brename
Version2.14.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/brename
Homepagehttps://github.com/shenwei356/brename
Repositoryhttps://github.com/shenwei356/brename
Upstream docshttps://github.com/shenwei356/brename#readme
LicenseMIT
Source archivehttps://github.com/shenwei356/brename/archive/refs/tags/v2.14.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebrename
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Scoop95%

main/brename

scoop install main/brename
  • normalized package name match
  • Matched by: Brename
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/brename.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment