Forum Moderators: bakedjake

Message Too Old, No Replies

Help! Need to fix file names with accented chars.

         

transistor

7:53 pm on Jun 14, 2002 (gmt 0)

10+ Year Member



Well, I just uploaded hundreds of files with accented characters (á,é,í,ó,ú and ñ, ¡ and ¿) and now I can't refer to those files containing these characters.
When I list the directory, a file named "I have an áccent" is displayed as "I have an a?ccent"
I can't refer to it as it is displayed: mv "I have an a?ccent" "I have an accent" (file not found).
Also: mv "I have an áccent" "I have an accent" will not work.
Please, help me! what can I do? (Please don't say "re-upload the files", please! there has to be a way, right?)
Server: OpenBSD, Remote login: Mac OS X Terminal by ssh.

littleman

2:31 am on Jun 15, 2002 (gmt 0)



try a wildcard.

mv *ccent accent
That will at least get you control of the files.

transistor

4:46 pm on Jun 18, 2002 (gmt 0)

10+ Year Member



It works! it works!
thank you Littleman, thank you! :)