Automator or AppleScript for file management folder actions?
Automator or Applescript for folder actions?
I would like to start setting up some automation for managing files using my MacBook Air (OS 12 Mavericks). It would be a bonus if I could use the same automation on my MacBook Pro (OS 10.9 Mavericks) too. Am I better off trying to set this up using Automator or Applescript? Is there a good way to learn how to do this? Or where can I find ready to use scripts or automator actions?
Some examples of things I'd like to try to set up.
- folder action to sort selected files or files in selected folder into designated folders by filetype.
- connect to the other computers on my home network (e.g. sign into the MacBookPro and Mac Mini with my username and password)
- sync selected 2 folders on the MacBookAir and MacBookPro
- rename selected files and append a date or suffix based on some attribute such as file saved date
In the past, I dabbled a teensy bit with folder actions using Applescript on my MacBookPro (OS 10.9 and earlier). For example I set up a folder ("A") that I could drop scanned images into that would 1) run a "quartz filter" and re-save the smaller file in a different folder ("B") and 2) move the original scan into a third folder ("C"). That was more than 10 years ago and I don't recall how I did that.
About 5 years ago, somehow I managed to create an automator folder action that would copy a file from a folder ("Y") to different folders on 2 connected volumes on another computer on the network. The problem with that folder action is that I always had to manually log onto the other computer first before it would work.
I had/have other Apple scripts that I downloaded from places like Doug's Applescripts for iTunes or Scriptbuilders. I still use these when I'm using the older MacBook Pro.
Any advice would be appreciated.