----------------------------------------
pb - pastebin
August 13th, 2018
----------------------------------------
With a little help from our ~ben I wrote a new version of the pb
utility here on team. It still does everything it used to do, but
now you can use it more ... um... differently?
echo "some whatever thingies" | pb
That still works to shove content into the pastebin.
pb filename.txt
This works now too!
If you're really crazy, you can use the -f switch to force
filename mode when using stdin like so:
find . -type f -name "*.js" -print | pb -f
This will upload all your js files individually to the pastebin.
If your full string passed to pb doesn't match a file (in filename
mode only) then it'll try to break it up on whitespace and test
each of the parts for a file match. On the super rare occasion you
actually use that feature it might save you a couple keystrokes.