{ "name": "fdupes", "version": "2.4.0", "summary": "fdupes: finds duplicate files by size, hash and byte comparison, and deletes or links them", "category": "tool", "license": "MIT", "homepage": "https://github.com/adrianlopezroche/fdupes", "source": { "url": "https://github.com/adrianlopezroche/fdupes/releases/download/v2.4.0/fdupes-2.4.0.tar.gz", "sha256": "527b27a39d031dcbe1d29a220b3423228c28366c2412887eb72c25473d7b1736" }, "watch": {"kind": "github-release", "repo": "adrianlopezroche/fdupes", "tag_regex": "^v([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [ "ncurses", "pcre2", "sqlite" ], "env_packages": [], "static": true, "nss": true, "check": "bin/fdupes --version | first && t=$(mktemp -d) && mkdir \"$t/a\" \"$t/b\" && seq 1 9000 > \"$t/a/one\" && cp \"$t/a/one\" \"$t/b/two\" && seq 2 9000 > \"$t/a/other\" && bin/fdupes -r \"$t\" > \"$t/out\" && has -x \"$t/a/one\" < \"$t/out\" && has -x \"$t/b/two\" < \"$t/out\" && ! has other < \"$t/out\" && bin/fdupes -rm \"$t\" | has '1 duplicate files (in 1 sets)'" }