Page 1 of 1

Hazel script to Upload Vimeo Video

PostPosted: Tue Apr 30, 2013 12:32 pm
by seeplanet
First things first, I LOVE Hazel. What an amazing app.

I am of limited scripting knowledge and hoping someone can help guide me on if it would be possible to setup a script to upload a movie file to my vimeo pro account.

I did some preliminary searching to see if anyone has had this idea and wasn't able to find much.

http://pastebin.com/2XzKSp3s - This one uses ruby which I don't think would work?

https://github.com/TomNomNom/Vimeo-Uploader - A PHP script that says it can do what I want, but can I run a PHP script on my local machine?

If I could get this to work I would be able to process my final videos using Hazel and not have to go through the laborious task of using their web interface.

And help would be much appreciated!

Re: Hazel script to Upload Vimeo Video

PostPosted: Wed May 01, 2013 10:24 am
by a_freyer
Ruby would work fine. Save the script somewhere, and call it like this (didn't test, likely to work):

Code: Select all
if (all) of the following conditions are met for (the file or folder being processed):
     <<video to be uploaded to vimeo>>

Do the following to the matched file or folder:
     Run script (embedded script)


With the embedded script:

Code: Select all
/usr/bin/ruby /path/to/my/vimeo_upload.rb "$1"