With the release of GoogleCL, a command line tool to access most Google services, it was obvious a lot of scripts would start to be created.
The first such script - for uploading videos to YouTube - has been posted to GNOME Look and is very easy to use and install.
Before using the script, you must install GoogleCL. Instructions can be found HERE. Also, before using the script you must run the Google YouTube command line interface at least once so you can authorize YouTube. To do this, simply use an example from HERE.
It's a Nautilus script so you must place it in the "~/.gnome2/nautilus-scripts" folder. You can download the script from HERE. Once you place it in the Nautilus scripts folder, make it executable:
chmod +x ~/.gnome2/nautilus-scripts/youtube-upload.sh
Then, to upload a video to YouTube, all you have to do is right click a video and select your script via the Nautilus context menu. Note that GoogleCL does not provide a way to see the upload progress, but the script will notify you when the upload finishes!
You can of course play with the source code of this script and extend it, modify it for uploading pictures to PicasaWeb or anything to Google Docs and so on.
You can of course play with the source code of this script and extend it, modify it for uploading pictures to PicasaWeb or anything to Google Docs and so on.
Tidak ada komentar:
Posting Komentar