What are Folder Actions?
In a nutshell, Folder Actions are scripts that can be attached to folders. They enable events (actions) to take place when items are added or removed from that folder. Events can also occur when the folder is opened, closed or moved.
How to enable and use Folder Actions
- For this example we’ll create a Folder Action that converts images to JPG format just by dropping them into a folder (this particular Folder Action is included with OS X). Start by creating a new folder.
- Now right-click (ctrl-click) on that new folder and select Enable Folder Actions
- Again, right-click (ctrl-click) that same folder and this time select Attach a Folder Action…
- You’ll probably be presented with a list of scripts. If you’re not, you’ll need to navigate to the folder that contains all of the Folder Action scripts. They’re in Mac HD/Library/Scripts/Folder Action Scripts/. Select Image – Duplicate as JPEG and then click Choose
- That’s it. Now drag a non-jpg picture into that folder (a PNG, GIF etc).
- Ta-da! The Folder Action will have duplicated your image, but this time as a JPG. It will also save the original image.
- If you ever want to change or disable a Folder Action, right-click (ctrl-click) the folder and choose Configure Folder Actions…
- From here you’ll be able to manage all of your Folder Actions in one place.
Here are some sites that provide pretty cool Folder Action scripts etc –