Ultra simple script to upload files from the command line
syntax: upload [file ..]
# single file:
upload file.txt
# many files:
upload file1 file2
upload *.txt
# pipe stdin:
echo "hi there" | upload -
The link is shown & copied to your clipboard (using pbcopy
or xclip
)
Files are uploaded to the awesome chunk.io.