-   Linux - Software (
-   -   Bash - Mass file renaming problem (

smudge|lala 02-13-2007 05:00 PM

Bash - Mass file renaming problem
Building my Amarok music collection I get crashes. The problem is not all file names are unicode or UTF-8. Some are in foreign languages or use unusual characters. I use en-GB language and believe utf-8 is what I need to use. Amarok searches, finds discrepancies and crashes, aka - no catalog!

Does anyone know a practical way to do this? I was thinking of a search and sort command or shell script.

find ./ -type | xargs grep ????

bartonski 02-14-2007 10:27 AM

my inclination would be to pipe the file listing through cat -v; I believe that this will give all non ascii sequences as escaped octal.

Take this with a huge grain of sodium; I have no idea if/how modern versions of cat handle unicode.

smudge|lala 02-14-2007 06:02 PM

Renaming solution
Okay krename, a GUI renaming tool, has support for renaming files to a set encoding like UTF-8.

I'll try it out and post how it works!

All times are GMT -5. The time now is 05:45 PM.