Created
August 19, 2019 00:30
-
-
Save aorfanos/afb762682d1d9b2c86e389029ca128b7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#A small gist to upload files from CLI, using the file.io API | |
#Usage: fupload.sh <file> <expiry> | |
#more info: https://www.file.io/ | |
curl -sF "file=@$1" https://file.io/?expires=$2 | jq -r '.link' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment