Corrupted Files Can't Be Deleted or Renamed
Hi everyone,
I have about 28 MP3 files that somehow have corrupted file names. I have been unable to rename them to something not corrupt and have also been unable to delete them. I can move their containing folder to the trash, but then cannot delete them.
The "special character" that's showing up is displayed as ␀in the filename. The original filenames did not have any special characters in them. For instance, one of the files was Deep Purple - Woman from T.mp3 But now it's Deep Purple ␀-Woman from T.mp3
I'd like to say I've tried everything, but I'm sure someone has a great idea for me that I haven't tried. Here's what I've done so far.
- Rename via Finder - receive error that I should Try using a name with fewer characters, or with no punctuation marks. I simply called the file "file.mp3"
- Rename via Terminal - receive error Invalid Argument. I did this dragging the file to the terminal to get the directory correct. I also tried typing the file name with quotes on either side of it.
- Delete the file via Finder - receive the error The operation can’t be completed because an unexpected error occurred (error code -50).
- Delete the file via Terminal using srm command - received the Invalid argument error
- Delete the containing folder via both the Finder and Terminal and received the same above errors, even with the folder in the Trash
None of the files/folders are locked and I have full admin privileges. I've rebooted, logged off and on, deleted the finder permission file, repaired permissions and checked the disk via the disk utility. I also tried deleting the files and renaming them via another Mac, and via Windows 7 in a Parallels virtual machine.
I'm running 10.11.1 on a 27inch Mid 2011 iMac.
I'm soooo hoping someone has another idea on how I can delete or rename these stupid files. I'm at a loss for now :-(
Thanks in advance!
iMac (27-inch Mid 2011), OS X El Capitan (10.11.1), 2.7 GHz i5 with 16GB RAM