anypaste is a bunch of shell scripts sharing a file with compatible hosting services, like pastebin.com.
Install:
curl -Lo ~/.local/bin/anypaste https://anypaste.xyz/sh`
chmod 755 ~/.local/bin/anypaste
List all plugins: anypaste -l
.
Share a file with anypaste.sh <a_file>
.
Some text sharing sites
- http://ix.io
- http://sprunge.us
- http://clbin.com
- http://p.defau.lt
- http://pub.iotek.org
For example:
Sending text to online pastebin:
$ curl -F 'f:1=<Raindrop.io.html' ix.io`
http://ix.io/2Dr1
Get texts from online pastbin:
curl -o res.html http://ix.io/2Dr1
Here -F
in curl
command means use form parameter.
Ref: