I have a weird situation with a file that sticked into my file system and apparently there is nothing I can do to remove it. There is a file in the Trash folder of my external hard drive, and it can not be deleted. Trying with mac "Empty Trash" it says the file is in use:
"The operation can’t be completed because the item “Funny Film” is in use."
I tried to remove the file/folders from command line:
$ pwd Volumes/My Book/.Trashes/501/Clip old/Funny Film $ ls 000␀0000.␀P4 $ rm 000␀0000.␀P4 rm: 000␀0000.␀P4: No such file or directory $ ls -i ls: 000␀0000.␀P4: No such file or directory $ ls -l ls: 000␀0000.␀P4: No such file or directory $ stat ./000␀0000.␀P4 stat: ./000␀0000.␀P4: stat: No such file or directory
I had this problem for some time now. I have tried several different things without success. The external hard drive have been used over ftp, with Windows, Ubuntu and Mac operation systems. How it is possible that 'ls' finds the file while 'ls -l' failed? More importantly, how I can fix the situation and delete the file?