Skip to content

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
uams committed Oct 1, 2012
1 parent bfd4620 commit 5c12333
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -5,10 +5,9 @@ This tool allows you to get a share link to any file. It uses Filepicker.io as a


#### Usage #### Usage


>>> geturl path/to/file geturl path/to/file
https://www.filepicker.io/api/file/RANDOMSTRING


It also tries to use `pbcopy` on a mac, `xsel` or `xclip` on linux to put the url into your clipboard. It also tries to use `pbcopy` on a mac, `xsel` or `xclip` on Linux to put the url into your clipboard.


<img src="https://raw.github.com/uams/geturl/master/static/example.png"> <img src="https://raw.github.com/uams/geturl/master/static/example.png">


Expand All @@ -17,6 +16,10 @@ It also tries to use `pbcopy` on a mac, `xsel` or `xclip` on linux to put the ur
sudo curl https://raw.github.com/uams/geturl/master/geturl -o /usr/local/bin/geturl; sudo curl https://raw.github.com/uams/geturl/master/geturl -o /usr/local/bin/geturl;
sudo chmod +x /usr/local/bin/geturl sudo chmod +x /usr/local/bin/geturl


Enable Clipboard Access (Only necessary on Linux)

sudo apt-get install xclip

I'll submit it to `brew` and `apt-get` if enough people are interested. I'll submit it to `brew` and `apt-get` if enough people are interested.


<img src="https://raw.github.com/uams/geturl/master/static/install.png"> <img src="https://raw.github.com/uams/geturl/master/static/install.png">
2 changes: 1 addition & 1 deletion geturl
Expand Up @@ -45,7 +45,7 @@ if not APIKEY:
####################### #######################
# Usage if no right number of args # Usage if no right number of args
if len(sys.argv) != 2: if len(sys.argv) != 2:
print "usage: filepicker <filename>" print "usage: geturl <filename>"
exit() exit()


####################### #######################
Expand Down
Binary file modified static/example.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/install.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5c12333

Please sign in to comment.