hello list.
i have a bunch of files with accented characters in their names, both
upper- and lower case. i want to rename them using the non-accented
equivalent. i thought that would be easy to do using something like tr.
big mistake. confronted with accented characters, tr outputs garbage.
Am 07.04.2010 18:21, schrieb luis jure:
hello list.
i have a bunch of files with accented characters in their names, both
upper- and lower case. i want to rename them using the non-accented
equivalent. i thought that would be easy to do using something like tr.
big mistake. confronted with
i'm using es_UY.UTF8 and i can't make tr do anything useful.
any ideas?
script it. python for example works well with unicode. you may want
os.rename() and maybe a dictionary with your substitutions.
/jdb
3 matches
Mail list logo