# 使用 Homebrew, apt, dnf, MacPorts, Nix, zypper, winget 安装 mmv

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

## 安装

```sh
sudo av install brew:mmv
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mmv
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mmv
```

  证据: MacPorts ports tree: sysutils/mmv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install mmv
```

  证据: Debian stable package indexes: mmv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mmv
```

  证据: Fedora Rawhide package metadata: mmv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mmv
```

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

- zypper (92%):

```sh
sudo zypper install mmv
```

  证据: openSUSE Tumbleweed package metadata: mmv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id goreleaser.mcp -e
```

  证据: Windows Package Manager source index: goreleaser.mcp from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mmv
- **软件包管理器:** Homebrew
- **版本:** 2.10
- **来源摘要:** Move, copy, append, and link multiple files
- **主页:** <https://github.com/rrthomas/mmv>
- **仓库:** <https://github.com/rrthomas/mmv>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mad (别名)
- mcp (别名)
- mln (别名)
- mmv (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mmv is a long-lived Unix command-line utility for moving, copying, appending, and linking groups of files by wildcard pattern. The maintained GitHub repository credits Vladimir Lanin as the original author and Reuben Thomas as maintainer. Its core idea is older and narrower than editor-driven bulk renamers: a source pattern captures wildcard groups, and a target pattern reuses them, so commands such as mass extension swaps or filename rearrangements can be expressed in one operation.

### 项目历史

The distinctive feature is safety planning. The README and manpage both emphasize that mmv checks the whole multiple-file operation before doing it, avoiding unexpected deletion from target collisions and giving the user a chance to abort or skip offending parts. The installed command names also map to default tasks: `mmv` moves, `mcp` copies, `mad` appends, and `mln` links. That makes the Homebrew package a small POSIX-oriented file-management tool rather than a shell builtin replacement.

### 使用方式

Its adoption is typical of classic Unix utilities: it appears in Linux distributions, MacPorts, Nix, Homebrew, and other package sets, and it is referenced in shell and Unix communities for batch renaming problems that plain `mv` does not solve. The package remains useful when a user wants predictable wildcard-based renaming without opening an editor or writing a one-off shell loop.

### 来源

- <https://formulae.brew.sh/formula/mmv>
- <https://github.com/rrthomas/mmv>
- <https://github.com/rrthomas/mmv/blob/master/AUTHORS>
- <https://manpages.ubuntu.com/manpages/xenial/man1/mmv.1.html>
- <https://unix.stackexchange.com/tags/mmv/info>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - mmv - 2.5.1-1: normalized package name match | Debian stable package indexes: mmv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Move/Copy/Link multiple files and directories | https://github.com/rrthomas/mmv
- Nix - mmv: normalized package name match | nixpkgs package indexes: pkgs/by-name/mm/mmv/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mmv - 2.5.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mmv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Move/Copy/Link multiple files and directories | https://github.com/rrthomas/mmv
- dnf - mmv - 2.10-4.fc45: normalized package name match | Fedora Rawhide package metadata: mmv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Move/copy/link multiple files | https://github.com/rrthomas/mmv
- zypper - mmv - 2.10-1.6: normalized package name match | openSUSE Tumbleweed package metadata: mmv from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Move/Copy/Append/Link Multiple Files by Wildcard Patterns | https://github.com/rrthomas/mmv/
- MacPorts - mmv: normalized package name match | MacPorts ports tree: sysutils/mmv/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - goreleaser.mcp: installed executable or alias match | Windows Package Manager source index: goreleaser.mcp from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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