commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Nothing advanced, it just finds filenames that are stored with ISO-8859-1 characters and and converts those into UTF-8. Recommended to use without the --notest flag first so you can see what will be changed.
There is 1 alternative - vote for the best!
This command is a powerful "detoxifier" that eliminates special chars, spaces and all those little chars we don't like. It support several "sequences" so be sure to check your /usr/local/etc/detoxrc while at it... and maybe define your own
Warn: use convmv or detox if you can: they are the right tools.
But if you want to do it manually, you can use this command to find the problematic files and transliterate their accented characters to their ascii equivalent.
(Useful when doing cd backup: growisofs may fail on files which come from the old iso8859-* days.)
If you can do better, submit your command here.
You must be signed in to comment.