This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > detox (1.2.0)

Detox is a utility designed to clean up filenames. It replaces
difficult to work with characters, such as spaces, with standard
equivalents. It will also clean up filenames with UTF-8 or Latin-1
(or CP-1252) characters in them. Some features include:

* Removal or replacement of upper ASCII Latin-1 (ISO8859-1)
characters (i.e. left facing and right facing double quotes).
Whenever possible a replacement character will be used (i.e. an
"A" will take the place of an "A" with an accent mark over it).
* Removal or replacement of UTF-8 encoded Unicode characters.
This operates along the same line as the ISO 8859-1 translation,
except the scope of Unicode is much larger
* Removal or replacement of spaces and other potentially tricky
characters, such as (, ), and @. Removal of any "-"s at the
beginning of the filename
* Removal or replacement of CGI escaped ASCII characters, i.e.
%20 becomes " " (which then becomes "_").
* Trimming of excessive "_" and "-"s.
* Directory recursion, dry runs, verbose listings.
* It's designed with safety in mind. It won't overwrite to a
file that already exists, and it doesn't touch special files
normally (but it can be asked to).

Global configuration is in /etc/detoxrc, user-specific configuration
can be specified in ~/.detoxrc. A sample configuration file is
provided (/etc/detoxrc.sample).

Maintained by: Marcin Herda
Keywords: rename,windows,utf,characters
ChangeLog: detox

Homepage:
http://detox.sourceforge.net

Source Downloads:
detox-1.2.0.tar.bz2 (da34c6bc3c68ce2fb008e25066e72927)

Download SlackBuild:
detox.tar.gz
detox.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:
README
detox.SlackBuild
detox.info
doinst.sh
slack-desc

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds