>So I have lots of files with weird characters in the name. Those <F6>,
><F4>, etc characters are listed as "?", for instance
>"Making?Food?Recipe.doc". The version of CIFS I use, (b125) does not
>allow listing of files with those characters in WinXP clients. I must
>stay with b125 because of issues in later builds.


>So I need to somehow, find all these files and rename them in an
>automatic way. I have tried
        ls -R | grep "?" 
>and then I find all file names with strange characters. But, I dont see
>the path to the file.  Some where, in all subdirectories there are some
>files. But in which sub directory? Where? So I searched
>each file and renamed it manually. But that sucks. Hey, I am on Unix,
>not on Windows, there should be a way to automate it!

Use "find" and list all the filenames:

        find .

then rename them to UTF-8 version of the same characters.

(I was happy and I only had two files which weren't displayed)

Casper
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to