Skip to content

jthomerson/pastebinc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                              README - pastebinc
             Project home: https://github.com/jthomerson/pastebinc

pastebinc is really just a pet project because I want to get better at writing
c code (I come from a Java-intense background).  It "scratches an itch" so to 
speak.  I often want to paste a bit of a log file or script to pastebin and 
send it to a co-worker.  But, I have to get it on the console somehow (if it 
all fits), select it, copy and paste (which usually involves the mouse).  
Instead, I'd like to be able to do this:

$ cat somefile.sh | pastebinc
Your paste: http://pastebin.com/SomeURL

Or this:
$ tail -n 100 some.log | pastebinc
Your paste: http://pastebin.com/SomeURL

I aim to make this tool be that simple to use and to support multiple pastebin
sites, including private ones, with simple configuration options.

About

pipe input directly into pastebin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages