Live data from Hacker News

Cloud app functionality on Linux using +Dropbox

plus.google.com

1–7 of 7 posts

Re: Cloud app functionality on Linux using +Dropbox

#3
Here's my two line shell script that accomplishes the same thing (sans dropbox). Been using it for years and it's a lifesaver.

https://gist.github.com/1683661

You need scrot, xclip, and libnotify. Set up private key ssh access to your webserver and update the directories/url and you're good to go.

Re: Cloud app functionality on Linux using +Dropbox

#4
Why use a custom python script when you can just copy the screenshot into your dropbox folder? Ok, I guess it's for when you don't use the nautilus extension and don't link your filesystem with DB...

Would be cool if you could change the output location of compiz' "windows key + mouse rectangle produces screen shot" add on.

Re: Cloud app functionality on Linux using +Dropbox

#6
Disclaimer: Plug

To learn Ruby, I wrote a script to make command-line uploads easier. It currently supports S3 (including torrent and authenticated expiring URLs), Cloudapp, and Imgur (for images). You can check it out here:

http://code.hardikr.com/mishare

PS : I know it's not the most portable script it the world, but it works like a charm once installed..