Try detox. From the manual page:
Name
detox - clean up filenames
Synopsis
detox [-hnLrv] [-s -sequence] [-f -configfile] [--dry-run] [--special] file ...
Description
The detox utility renames files to make them easier to work with. It removes spaces and other such annoyances. It'll also translate or cleanup Latin-1 (ISO 8859-1) characters encoded in 8-bit ASCII, Unicode characters encoded in UTF-8, and CGI escaped characters.
Sequences
detox is driven by a configurable series of filters, called a sequence. Sequences are covered in more detail in detoxrc(5) and are discoverable with the -L option. Some examples of default sequences are iso8859_1 and utf_8.
It's available in RHEL 6 repositories, last time I checked. I'm not sure about RHEL 7. Before doing the actual cleanup, it's advisable to run detox
with the -n
(dry-run) switch. For example: detox -rn /somedir
.