From f480de0065acdccb5afafa717665fe62b3110f43 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 24 Dec 2019 11:11:39 +0530 Subject: Use file.io to ipload files --- plugins/transfer | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 plugins/transfer (limited to 'plugins/transfer') 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 -- cgit v1.2.3-70-g09d2