Unable to remove 'thumbnails.fraghandler' from bin [duplicate]

I have this file (see attached); Troublesome file

And I cannot delete it. it doesn't exist...

I have tried typing rm in the prompt then dragging the file on to it, I have gone to the actual location of the file and it's not there, I have deleted .Trash folders left right and center and I still can't find it... I have just run First Aid on ALL the volumes I have and the file still mocks me. Does anyone else have any suggestions?


Assuming that the file tunnelBlick.tblk is in ~/.Trash, then one sure way of deleting this file is to boot to Recovery Mode, (⌘R when restarting the Mac), and then in Terminal (on the Utilities menu)... use the following command, e.g.:

rm -f /Volumes/Macintosh\ HD/Users/Your_Short_Name/.Trash/tunnelBlick.tblk
  • The example command above assumes the main Startup volume is Macintosh HD, change as needed.
  • The Your_Short_Name is that which you normally see in Finder as the name on your Home folder.

Then type reboot and press enter to restart the Mac back to normal mode boot.

NOTE: The rm command, especially with the -f option is potentially destructive if the target is not properly typed. Make sure the command is properly typed before executing. You can also first try without the -f option and the see if e.g.:

ls /Volumes/Macintosh\ HD/Users/Your_Short_Name/.Trash/tunnelBlick.tblk

Returns anything, and is so, then use the -f option.


Update: Based on the answer to the question I asked in the comment under your question, you would use the following command from Recovery Mode, (⌘R when restarting the Mac):

rm -f /Volumes/Macintosh\ HD/Users/Your_Short_Name/Library/CloudStorage/iCloud\ Drive/.Trash/tunnelBlick.tblk

With the same caveats applying:

  • The example command above assumes the main Startup volume is Macintosh HD, change as needed.
  • The Your_Short_Name is that which you normally see in Finder as the name on your Home folder.

Note: You can first try from normal mode:

rm -f /Users/Your_Short_Name/Library/CloudStorage/iCloud\ Drive/.Trash/tunnelBlick.tblk

If that doesn't work you can also try prefacing the command with sudo; however. if it will not delete from normal mode then boot to recovery mode.


Rather than putting in the trash, try putting it into the /tmp/ folder, like so:

mv -fv /Users/SHORT-NAME/Library/CloudStorage/iCloud\ Drive/.Trash/tunnelBlick.tblk /tmp/ 

The /tmp/ folder is cleared out on reboot, so that might do it.