I am trying to create a bash script with 2 parameters:
I want to watch the
In Mac OS X, you can just control-click a folder, then click 'Folder Actions Setup'. This will allow you attach actions to a folder, i.e. scripts to run.
OS X comes with a number of prebuilt scripts, or you can create your own.