Every week, I edit about a dozen podcast episodes that include a whole bunch of big files. Once the show is posted and scheduled, those files can be moved to archival storage1, which in my case is a Synology DS418 network-attached drive2 that has about 10 terabytes capacity. This was never an onerous job, but just a little tedious because it involved opening the network share, dragging and dropping, then waiting for the large file transfer to finish in order to delete the original files. Of course, tedious, repetitive tasks as perfect for automation.
For this automation, I have used Hazel and Keyboard Maestro. The first step is to set up Hazel to watch each show’s folder and to create a rule called “Send to Archive”. The rule itself is fairly simple. Because I have a standard naming convention of a three-letter acronym plus show number, I tell it to find any folders with the three letters. Then I tell it to look for a Finder tag containing “Send to Archive”. If those conditions are met, Hazel runs a Keyboard Maestro macro (via AppleScript) to make sure the NAS drive is mounted, then moves the project folder to the show’s particular archive folder on the NAS (which deletes the original when it is done) and the displays a notification that is complete.
And that’s it!
A couple of potential areas of improvement could include copying the folder and then only after it is done deleting the original, just for safety’s sake in case the move operation gets interrupted by a power outage or something; and somehow streamlining the Hazel rules so I don’t have to have one for every show.3
But for now, when I’m done working with an episode, I just tag it in the Finder with the right tag and go about my business, secure in the knowledge that it will be properly archived for me.
- I archive everything, including the raw and edited recordings. I have needed to dig into those more than a few times and it has saved my bacon. I don’t throw this stuff away. ↩
- Network-attached storage is essentially a simplified computer on the network attached to very large hard drives that are set up to be mirrors of one another for safety. To be even more safe, the NAS is backed up into the cloud on Amazon AWS Glacier storage as well. ↩
- But because of the way Hazel works and the fact I don’t want to have all my shows in one folder, that may not be possible. ↩