I have a directory within my iTunes folder structure that has an accent character in it which I am trying to delete.
If I do an ls on the directory I get this:
ls -al ls: Radiů Disney_ Jams Vol. 2: No such file or directory total 0 drwxr-xr-x 3 scott staff 102 Jul 29 13:16 . drwxrwxr-x@ 21 scott staff 782 Jul 29 13:24 ..
I've tried rm -rf * but after that I attempt an ls -l I still get: ls: Radiů Disney_ Jams Vol. 2: No such file or directory
Any way to delete the directory with offending filename? If I attempt to delete the parent directory I get a "Directory not empty message"
echo * | od -t ax1
in the offending directory? I am trying to find out something about the character encoding used here. If you find that the letter ů is encoded asc5 af
, that should not have been possible, and it may explain the problem. By Apple's encoding rules for filenames, it should be75 cc 8a
instead.