diff --git a/README.md b/README.md index 915e1a7..c16ee9d 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,9 @@ This tool allows you to get a share link to any file. It uses Filepicker.io as a #### Usage - >>> geturl path/to/file - https://www.filepicker.io/api/file/RANDOMSTRING + geturl path/to/file -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. @@ -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 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. diff --git a/geturl b/geturl index 79836ac..277328c 100755 --- a/geturl +++ b/geturl @@ -45,7 +45,7 @@ if not APIKEY: ####################### # Usage if no right number of args if len(sys.argv) != 2: - print "usage: filepicker " + print "usage: geturl " exit() ####################### diff --git a/static/example.png b/static/example.png index 295406b..b819366 100644 Binary files a/static/example.png and b/static/example.png differ diff --git a/static/install.png b/static/install.png index fe91af2..c4627fd 100644 Binary files a/static/install.png and b/static/install.png differ