Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 detox

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install detox

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install detox

MacPorts ports tree · sysutils/detox/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add detox

Alpine Linux edge package indexes · detox · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install detox

Debian stable package indexes · detox · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install detox

Fedora Rawhide package metadata · detox · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#detox

nixpkgs package indexes · pkgs/by-name/de/detox/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S detox

Arch Linux sync databases · detox · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Utility to replace problematic characters in filenames

命令和别名

  • detox
  • inline-detox

历史

项目历史与用法

detox is a Unix-style filename cleanup utility. Its README and man page describe replacing awkward or unsafe filename characters, transcoding legacy encodings such as ISO-8859-1 and CP-1252 to UTF-8, and previewing changes with dry-run mode.

项目历史

Doug Harple's man page says detox began as a way to clean up files received from other operating systems, where spaces, parentheses, brackets, ampersands, and similar characters were easy to create but annoying in FreeBSD and Linux shells. The GitHub repository preserves older 1.x releases and modernized 2.x and 3.x lines.

采用历史

detox became a package-manager utility for users with messy download, transfer, media, or archival directories. Its README explicitly notes that many distributions include detox, and its package-manager footprint spans Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and Nix-style ecosystems in the supplied facts.

使用方式

The usual workflow is cautious batch renaming: run detox -n or --dry-run first, then apply a sequence to one file, a directory, or a recursive tree. The man page documents system and user detoxrc files for custom sequences and translation tables.

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

detox is package-nerd bait because it is a small C utility that encodes decades of shell pain around filenames. Its 2.0 and 3.0 changes are also a tidy example of Unix tools adapting from ASCII-centric transliteration toward UTF-8-preserving behavior.

时间线

  • 2008: GitHub release v1.2.0 is labeled as a legacy release from 2008.
  • 2017: v1.3.0 migrated the build to the full autoconf suite.
  • 2021: 2.0.0-beta1 changed default transliteration behavior and added built-in config support.
  • 2024: 2.0.0 added XDG_CONFIG_HOME lookup and merged v1.4.5.
  • 2025: 3.0.0 removed most transliteration from the default Unicode tables.

Related projects

  • The project belongs near renameutils, convmv, iconv-driven scripts, shell-safe filename tools, and other Unix file hygiene utilities.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.detoxrc/etc/detoxrc/usr/local/etc/detoxrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
detoxcli全局可执行文件
inline-detoxcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.0.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v3.0.1

https://github.com/dharple/detox

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:detox
版本3.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/detox
主页https://detox.sourceforge.net/
仓库https://github.com/dharple/detox
上游文档https://detox.sourceforge.net/
许可证BSD-3-Clause
源码归档https://github.com/dharple/detox/archive/refs/tags/v3.0.1.tar.gz
构建依赖autoconf, automake, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

detox 2.0.0-4

replace problematic characters in filenames

https://github.com/dharple/detox

sudo apt install detox
  • Section: utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Detox
Debian stable package indexes · deb.debian.org · Debian stable package indexes: detox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

detox

nix profile install nixpkgs#detox
  • normalized package name match
  • 匹配方式:Detox
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/de/detox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

detox 1.4.5-5

replace problematic characters in filenames

https://github.com/dharple/detox

sudo apt install detox
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Detox
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: detox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

detox 2.0.0-r0

Utility for cleaning up filenames

https://github.com/dharple/detox

sudo apk add detox
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: detox
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Detox
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: detox from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

detox-doc 2.0.0-r0

Utility for cleaning up filenames (documentation)

https://github.com/dharple/detox

sudo apk add detox-doc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: detox
  • normalized package name match
  • 匹配方式:Detox
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: detox-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

detox 3.0.1-4.fc45

Utility to replace problematic characters in file names

https://github.com/dharple/detox

sudo dnf install detox
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: detox
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Detox
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: detox from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

detox 3.0.1-1

An utility designed to clean up filenames by replacing characters with standard equivalents

https://github.com/dharple/detox

sudo pacman -S detox
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Detox
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: detox from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

detox

sudo port install detox
  • normalized package name match
  • 匹配方式:Detox
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/detox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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