Multibyte or wide character - Renaming all files
Hey,
Error which have caused big problems for me 'Invalid or incomplete multibyte or wide character' when moving/copying files is appearing again. Scenario is where I move files from ext2 to ntfs. Locale settings are set to en_US-UTF8, also in fstab ntfs-3g is mounted with appropriate en_US.UTF-8 locale option -- error still appearing. Thing what I want to do is to remove these characters completely from filenames. So I'm looking for best way to do this. I want simply rename 'filename*something' to 'filenamebsomething' where '*' repesents multibyte character. Want to preserve filenames and everything else but just change '*' to 'b'. |
Quote:
|
You could write a script to work its way through a directory checking and altering files with undesirable names, but it would need more knowledge of bash than I have. This sort of thing:
http://stackoverflow.com/questions/2...files-in-linux http://www.thingy-ma-jig.co.uk/blog/...h-rename-files |
All times are GMT -5. The time now is 05:26 PM. |