I have a machine containing a large number of files that were originally created on a mac with some sort of special character in the name (not sure what). When I do an ls in a bash terminal, these files show up something like the following:
$ ls -al
ls: cannot access ._BLM?OAS: No such file or directory
ls: cannot access BLM?OAS: No such file or directory
total 20476
drwx------+ 43 Integr None 0 Sep 7 09:19 .
drwx------+ 16 Integr None 0 Sep 7 09:19 ..
-rwx------+ 1 Integr None 24580 Jul 6 14:27 .DS_Store
??????????? ? ? ? ? ? ._BLM?OAS
drwx------+ 2 Integr None 0 Sep 7 09:19 66-North
.
.
.
Note particularly the errors after the ls and the file with all the ? in it's name. Now I know I can delete the ._ file safely, except that when I try to do that it doesn't work:
$ rm ._*
rm: cannot remove `._BLM?OAS': No such file or directory
So how can I remove these files? There are literally several hundred of them, so one-by-one doesn't work. I know I can add the -delete flag to find to delete all found files, but doing a 'find . -name "._*" -delete' results in the same error (only repeated hundreds of times). Thanks.