Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Automator workflow

Posted on 2009-02-10
Medium Priority
Last Modified: 2012-05-06
how can I use Hazel (a program that moves files to other folders on your mac depending on rules you set up) to FTP or Mail Pictures to my family? I know how to move files on my computer but not open programs and email or ftp them.
Question by:carloslaso
LVL 41

Accepted Solution

Eoin OSullivan earned 2000 total points
ID: 23609061
If you have Transmit & Automator .. then you can do this .. but tread with care

You'll need 3 folders.

Source .. this is the folder Hazel will monitor and apply rules to ..
Emails .. this folders contents will be attached to an email
FTP .. this folders contents will be FTP'd to the web

You can create an Automator Task for each action
1. FTP selected files to a desired Location (using the Transmit Automator plug-ins)
2. Attach selected files to an Email

Creating the Automator scripts takes a little experimentation .. for example the Email one needs 4 steps
Get Specified Finder items (where you set the Emails folder)
Get Folder Contents
New Mail Message
Add Attachments to Front Message

This will create a new email with the contents of the Email folder attached.

Now you can save the Workflow (as a Plugin and associate it as a Folder Action on the Email Folder you created earlier.

Whenever hazel moves files to this folder, the Workflow will detect the changes and run the action and create a new email with attachments.

NOTE: You may want to add a extra step or two to the workflow to then DELETE the contents of the Email folder as it will grow over time.


Author Closing Comment

ID: 31545457
thanks for the great response

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
While there are many new features for iOS 11, these are the five that can improve your digital lifestyle.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question