# 使用 Homebrew, Nix 安装 massren

查看 massren 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:massren
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install massren
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#massren
```

  证据: nixpkgs package indexes: pkgs/by-name/ma/massren/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:massren
- **软件包管理器:** Homebrew
- **版本:** 1.5.7
- **来源摘要:** Easily rename multiple files using your text editor
- **主页:** <https://github.com/laurent22/massren>
- **仓库:** <https://github.com/laurent22/massren>
- **最后更新:** 2026-07-29T17:04:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- massren (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.5.7
## 项目历史与用法

massren is a small command-line bulk rename tool built around a Unix-friendly idea: open a generated list of filenames in the user's normal text editor, let the user edit the names, then apply the diff as rename operations.

### 项目历史

The project README describes massren as an answer to the awkwardness of command-line bulk renamers that require escaping regular expressions or learning a custom rename syntax. Its public release history includes a v1.0.1 release in 2014, and the README copyright range runs from 2013 through 2025.

Over time the tool gained the practical safety features expected from a bulk renamer: dry-run mode, undo support, checks that the file list did not change unexpectedly while being edited, and support for moving files into subdirectories.

### 采用历史

massren stayed a niche but packageable CLI because it solves a common shell-user workflow without becoming a full file manager. The batch input records Homebrew and Nix packaging, matching a tool whose main audience is users who already install small terminal utilities from package managers.

### 使用方式

Typical use is to run `massren` in a directory, edit the generated list in an editor such as Vim, Emacs, Sublime Text, or Notepad, save it, and let massren rename only the changed lines. The README also documents `--dry-run`, `--undo`, and `--config` for selecting the editor and behavior such as trash usage.

### 为什么软件包爱好者会关心

For package-manager users, massren is interesting because it composes with the editor muscle memory they already have instead of shipping its own rename language. It is the kind of small, sharp CLI that remains useful in Homebrew/Nix collections even without a large surrounding ecosystem.

### 时间线

- 2013: README copyright range begins for Laurent Cozic's massren.
- 2014: GitHub release v1.0.1 is published.
- 2024: GitHub release v1.5.7 is published.
- 2025: README copyright range still includes active project maintenance.

### Related projects

- massren sits near other bulk rename tools, but its closest conceptual dependency is the user's chosen text editor. It also overlaps with shell workflows that use `vidir`, `rename`, or scripted `mv` loops.

### 来源

- <https://github.com/laurent22/massren>
- <https://github.com/laurent22/massren/releases/tag/v1.0.1>
- <https://github.com/laurent22/massren/releases/tag/v1.5.7>
- <https://raw.githubusercontent.com/laurent22/massren/master/README.md>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Nix - massren: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/massren/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/massren.yml](https://github.com/mxcl/pkgdb/blob/main/combined/massren.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
