Get the notification when application moved to trash. Track the trash when an application added to trash
Asked
Active
Viewed 596 times
1 Answers
1
You can use this answer to watch the folder ~/Trash for file modifications. When you find that your app folder is moved you can fire an action.
-
1Thanks for your answer – Amit Khandelwal Aug 07 '15 at 10:12
-
1I got solution form here http://stackoverflow.com/questions/7300998/tracking-file-renaming-deleting-with-fsevents-on-lion – Amit Khandelwal Aug 07 '15 at 12:40