{ "name": "detox", "version": "3.0.1", "summary": "detox: renames files so that their names have no spaces, shell characters or non-ASCII letters", "category": "tool", "license": "BSD-3-Clause", "homepage": "https://github.com/dharple/detox", "source": { "url": "https://github.com/dharple/detox/releases/download/v3.0.1/detox-3.0.1.tar.gz", "sha256": "b3dac4f7fcfaa621c6fc5950a2c7e5747cdc9d78aacb9041875fad916b838e60" }, "watch": {"kind": "github-release", "repo": "dharple/detox"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "bin/detox -V | has -x 'detox 3.0.1' && t=$(mktemp -d) && mkdir \"$t/d\" \"$t/l\" && touch \"$t/d/My File (1).txt\" \"$t/d/a&b.txt\" && bin/detox -n \"$t/d\" > \"$t/dry\" && has 'My_File-1.txt' < \"$t/dry\" && [ -e \"$t/d/My File (1).txt\" ] && bin/detox \"$t/d\" && [ -e \"$t/d/My_File-1.txt\" ] && [ -e \"$t/d/a_and_b.txt\" ] && [ \"$(ls \"$t/d\" | wc -l)\" = 2 ] && touch \"$t/l/$(printf 'caf\\351 cr\\350me.txt')\" && bin/detox -s iso8859_1 \"$t/l/$(printf 'caf\\351 cr\\350me.txt')\" && [ -e \"$t/l/$(printf 'caf\\303\\251_cr\\303\\250me.txt')\" ] && echo 'a -- b (2).txt' | bin/inline-detox | has -x 'a-b-2.txt' && echo 'detox 3.0.1: a dry run, then spaces, brackets and an ampersand renamed; a Latin-1 name made UTF-8; inline-detox on a pipe'" }