Some application or action is deleting my ~/.Trash directory. I obviously don't know when this happens, save for the "Are you sure you want to delete..." dialog box.

I can restore the Trash, by restarting the Finder, as per this question, but I would like to figure out what is doing this.

Is there a way to monitor a directory (i.e., .Trash) and determine when it changes? So when my Trash is deleted, I'll know.

2 Answers 2


This will display every file deletion on your system. If you want to only display the deletion of "~/.Trash", add | grep .Trash to the last command.

  • Do I start this process and leave it running? Then wait for .Trash to show up?
    – kmm
    Commented Jun 23, 2011 at 23:37
  • Yes, you need to keep this running. Commented Jun 24, 2011 at 9:27
  • This link is dead, making this answer useless, can anyone update it?
    – oarfish
    Commented Jul 12, 2015 at 6:05

you can do this from the Terminal.app

sudo fs_usage -f filesys | grep ~/.Trash

will list all processes what accessing Trash - try it - enough click on the Trash icon and you will get tens of line for "Finder".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .