Trigger Automator folder action when content of a folder is removed
0
votes
1
answer
397
views
I want to trigger the automator folder action when I remove a file from a folder, is there a way to achieve this?
The folder action works perfectly when I add something to it but not when I remove it.
How can I achieve this?
Thanks in advance!
**Edit 1:**
It is perhaps better if I give more details about what I want to achieve.
I have a folder on the desktop and I want his color to change depending on whether it is full or empty. I have already a working shell code which works perfectly when I run it through terminal.
Using that shell code with automator folder action works only when I put a new file inside the folder but not when I remove it.
Asked by Pa Dalton
(47 rep)
Jan 24, 2022, 11:59 AM
Last activity: Jan 24, 2022, 07:53 PM
Last activity: Jan 24, 2022, 07:53 PM