LoginSignup
2
3

More than 5 years have passed since last update.

コマンドラインで pastebin にプレーンテキストを投稿/取得

Last updated at Posted at 2012-03-16

http://sprunge.us/ を使うと便利。

function netcopy {
    curl -F 'sprunge=<-' http://sprunge.us/
}

function netpaste {
    curl http://sprunge.us/$1
}
here$ netcopy < hoge.rb
http://sprunge.us/xxx

here$ ssh there
there$ netpaste xxx > hoge.rb
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3