From 5cf34717161bd866a634d8a9ad209afb4004857b Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 18 Apr 2019 20:27:35 +0530 Subject: Plugins! --- user-scripts/transfer | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 user-scripts/transfer (limited to 'user-scripts/transfer') 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 -- cgit v1.2.3-70-g09d2