Sample Header Ad - 728x90

Unable to delete a file whatever I do

4 votes
4 answers
17073 views
So here is my problem I have a pretty strange file that I can't get out of my computer. I tried pretty much everything. First I used software like CleanMyMac, TrashIt, CCleaner etc... None of them was able to do anything. I tried to throw it to the trash and "secure trash it". It did not complete, so I finally aborted it. I then tried to use the terminal with a sudo rm -R but no: still there. The file is untrashable because it seems not to exist... Here is a view of what I got: sh-3.2# sudo rm -R /Users/Mawel/.Trash/Tunnelblick.app rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Resources: No such file or directory rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Versions/Current: No such file or directory rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework/Versions: Directory not empty rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks/Sparkle.framework: Directory not empty rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents/Frameworks: Directory not empty rm: /Users/Mawel/.Trash/Tunnelblick.app/Contents: Directory not empty rm: /Users/Mawel/.Trash/Tunnelblick.app: Directory not empty Is it basically telling me that there is nothing there and I can't delete nothing? EDIT -- I tried some of your answers especially the one where I force the remove of each file one by one. Here is a sample of what happen : sh-3.2# cd Sparkle.framework/ sh-3.2# ls -al total 8 drwxr-xr-x@ 4 root wheel 136 22 jan 2014 . drwxr-xr-x@ 3 root wheel 102 17 jan 2014 .. lrwxrwxrwx@ 1 root wheel 26 22 jan 2014 Resources -> Versions/Current/Resources drwxr-xr-x@ 3 root wheel 102 9 fév 2014 Versions sh-3.2# sudo rm -f Resources sh-3.2# ls -al total 8 drwxr-xr-x@ 4 root wheel 136 22 jan 2014 . drwxr-xr-x@ 3 root wheel 102 17 jan 2014 .. lrwxrwxrwx@ 1 root wheel 26 22 jan 2014 Resources -> Versions/Current/Resources drwxr-xr-x@ 3 root wheel 102 9 fév 2014 Versions sh-3.2# EDIT 2 -- Thanks to DisplayName I finally manage to remove them by moving them to the /tmp folder and cleaning it.
Asked by Baldráni (143 rep)
Oct 8, 2015, 09:34 PM
Last activity: Mar 28, 2021, 12:46 AM