aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/transfer
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-24 11:11:39 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-24 11:11:39 +0530
commitf480de0065acdccb5afafa717665fe62b3110f43 (patch)
treecde66d1c1bf0f9c352ecf0adb3b6e08eb0233c08 /plugins/transfer
parentb1207d54ea6fc96fa7244aa5c0f32f264862afc6 (diff)
downloadnnn-f480de0065acdccb5afafa717665fe62b3110f43.tar.gz
Use file.io to ipload files
Diffstat (limited to 'plugins/transfer')
-rwxr-xr-xplugins/transfer16
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