diff options
Diffstat (limited to 'plugins/transfer')
| -rwxr-xr-x | plugins/transfer | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/plugins/transfer b/plugins/transfer deleted file mode 100755 index 05992a3..0000000 --- a/plugins/transfer +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env sh - -# Description: Upload a file to transfer.sh -# -# Shell: POSIX compliant -# Author: Arun Prakash Jana - -if ! [ -z "$1" ]; then - # Upload the file, show the download link and wait till user presses any key - curl -s --upload-file "$1" https://transfer.sh/"$(basename "$1")" - echo - read -r _ - - # To write download link to "$1".loc and exit - # curl -s --upload-file "$1" https://transfer.sh/`basename "$1"` -o `basename "$1"`.loc -fi |