diff options
| author | 2019-04-18 20:27:35 +0530 | |
|---|---|---|
| committer | 2019-04-18 20:32:53 +0530 | |
| commit | 5cf34717161bd866a634d8a9ad209afb4004857b (patch) | |
| tree | e63a1f4849c7ebb7658725a4369caa48a0710af4 /user-scripts/transfer | |
| parent | 12ce9451ee1c24ad245d33e8944ba77a1108b5b2 (diff) | |
| download | nnn-5cf34717161bd866a634d8a9ad209afb4004857b.tar.gz | |
Plugins!
Diffstat (limited to 'user-scripts/transfer')
| -rwxr-xr-x | user-scripts/transfer | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/user-scripts/transfer b/user-scripts/transfer deleted file mode 100755 index 7201b0b..0000000 --- a/user-scripts/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 input - - # To write download link to "$1".loc and exit - # curl -s --upload-file "$1" https://transfer.sh/`basename "$1"` -o `basename "$1"`.loc -fi |