Now, whenever a new comic file is saved in my pcw_toons folder, Hazel automatically uploads the file into the appropriate folder on my server. After configuring the action, I saved the workflow for Hazel to access. Next, I configured the Upload action to use one of my Transmit “Favorites” (a bookmark of sorts that contains all my FTP login info, including the correct path to open on the server). In Automator, I selected the Upload action and moved it into the workflow area. Transmit comes with an Upload action that is accessible from within Automator. I use Panic’s Transmit ($24.99) for all my FTP tasks. Hazel will launch an Automator workflow to upload the file to the appropriate folder on my server.Hazel will set a color label on the file (marking it green).If that condition is true, two actions will be performed. This rule will examine the date of the file and checks to see if it was created within the current week. This is what worked for me.įirst, I’ve created a rule within Hazel called “Latest Toons”. To preface this discussion: there are many ways to skin this cat. Automator is an app bundled with Mac OS X that bills itself as a “personal automation assistant” using drag-and-drop workflows. Hazel ($24.99) is an incredibly powerful program that automates filing, organizing and cleaning files and folders that live on your computer. To automate the steps above, I used two applications: Hazel and Automator. Thankfully there is, and it’s called automation. …given all the whiz-bang computing power we have at our disposal in 2012, shouldn’t there be a better way? (I keep all my comics within the same folder on my server.)Īs is the case with my comics, every time I make a revision (and in some cases I’ve revised a strip 20 times over the course of a day), I’d have to repeat the above steps each and every time. Drag the file into the appropriate folder on the server.Navigate to the proper folder on my computer.For the past 14 years, I have been manually uploading my comics to my FTP server. Sometimes, it’s nice to shake up routine. Automating FIle Uploads to Your Webserver using a Mac
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |