DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Share Files via File Sharing Sites


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:

  • Anypaste – Share And Upload Files To Compatible Hosting Sites Automatically

  • 自动共享和上传文件到兼容的托管站点



Published

Jan 1, 2020

Last Updated

Nov 9, 2020

Category

Tech

Tags

  • anypaste 1
  • shell 46

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor