macOS
brew install nfd2nfclocal Homebrew formula metadata
sudo port install nfd2nfcMacPorts ports tree · sysutils/nfd2nfc/Portfile · 来源: api.github.com
安装
brew install nfd2nfclocal Homebrew formula metadata
sudo port install nfd2nfcMacPorts ports tree · sysutils/nfd2nfc/Portfile · 来源: api.github.com
概览
Convert filesystem entry names from NFD to NFC for cross-platform compatibility
历史
nfd2nfc is a macOS-focused filename-normalization utility. It watches directories and converts filesystem entry names from Unicode NFD to NFC so files shared from macOS behave better on Windows, Linux, Git, cloud sync, archives, and other tools that expect composed Unicode names.
The project documents the root problem plainly: macOS stores filenames in decomposed NFD form, while Windows and Linux commonly use NFC. nfd2nfc wraps that conversion in an interactive TUI, scriptable CLI, and background watcher service. The README says it moved from the maintainer's personal tap to homebrew-core starting with v2.0.7.
Adoption is small but precise: it serves users who regularly move filenames with Hangul, accented Latin characters, Japanese kana, or other composed characters across platforms. The Homebrew API generated on 2026-07-01 reported 144 installs-on-request in the preceding 365 days, plus 7 HEAD installs.
The usual package-nerd path is `brew install nfd2nfc`, run `nfd2nfc` for the TUI, register watch paths, and let `nfd2nfc-watcher` convert new or modified filenames. For scripting, the README documents commands such as `nfd2nfc status --json`, `nfd2nfc convert <path> --mode recursive --target nfc --dry-run --json`, and watcher start/stop/restart commands.
Because it is a macOS watcher that renames files, permissions matter: upstream documents Full Disk Access for the watcher binary and notes that application-level NFD conversion by browsers, email, cloud storage, messaging apps, and archive tools remains outside nfd2nfc's scope.
This is a classic small macOS packaging win: a narrow filesystem annoyance, a Homebrew formula, a LaunchAgent-backed watcher, JSON-friendly CLI output, and no cross-platform ambition beyond fixing the local source of bad filenames.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nfd2nfc | cli | 全局可执行文件 | |
nfd2nfc-watcher | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/elgar328/nfd2nfc
安装元数据
| 软件包键 | brew:nfd2nfc |
|---|---|
| 版本 | 2.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nfd2nfc |
| 主页 | https://github.com/elgar328/nfd2nfc |
| 仓库 | https://github.com/elgar328/nfd2nfc |
| 上游文档 | https://github.com/elgar328/nfd2nfc#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/elgar328/nfd2nfc/archive/refs/tags/v2.1.0.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nfd2nfc |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nfd2nfc
sudo port install nfd2nfc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.