Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)
Folder Actions are a neat feature that lets you apply actions for files just by dragging them into a folder. Think of it as a special folder that runs an application each time you put a file in there. One of the best parts of folder actions is that you don't need to know any kind of programming. Read on to see how they work.
Quick Tip: Use Folder Actions to Speed Up Productivity in OS X
Apple understands that people wanted to automate processes, but didn't know how to program. And from that thought, Automator was born. Automator is a simple application that lets you drag and drop actions onto a process that can be applied to a folder, or even exported as an application. Let's get started with Automator by making a simple folder action. In this tutorial I will go over how to make a folder action that automatically creates an archive of the file(s) placed in the folder.
Your First Folder Action
First, open Automator. You can find it by using Spotlight, or by looking in the Utilities folder within your Applications folder. When you open the application, select "Folder Action" as the type of project that you want to build.
The user interface for Automator can be a bit confusing at first, but there isn't much too it.
On the left side you have all of the actions you can have OS X perform. There are a lot of actions, and over time, the more applications you install, the move actions will be added. But that's not a problem, because Automator lets you filter these actions and search specific ones.
Above the big gray area in the middle are the Properties for this folder actions, there is only one setting and it's what folder you would like to apply this action to. Select "Other..." from the list and choose your folder.
Since we're going to be creating an action that automatically creates an archive of the files put inside, drag the Create Archive action on to the main area. Every action has settings, and you can go even deeper by clicking the Options button on the bottom.
The options for the Create Archive action.
We're not going to change any of these settings, as the defaults are alright. That's all we're going to have to do in Automator, save the action and close.
Now it's time to test the action you created. Drag a file into the folder you applied your action to and watch as an archive is automatically created on your Desktop. You can even drag multiple files and have them added to one archive.
Wrapping Things Up
Now that you know how to make folder actions, you can save time by having your computer do the work for you. My favorite is an automatic upload to my network storage for my Pictures folder.
What kind of folder actions have you made? Let me know in the comments below!