EnglishFrenchSpanish

OnWorks favicon

pbget - Online in the Cloud

Run pbget in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pbget that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pbput - compress and encode arbitrary files to pastebin.com

pbputs - compress, encrypt, encode arbitrary files to pastebin.com

pbget - decode and decompress arbitrary files from pastebin.com

SYNOPSIS


pbput [FILENAME]

cat foo | pbput

pbputs [FILENAME] [GPG_USER]

cat foo | pbputs [GPG_USER]

pbget URL [DIRECTORY]

DESCRIPTION


pbput is a program that can upload text files, binary files or entire directory structures
to a pastebin, such as pastebin.com.

pbget is a program that be used to retrieve content uploaded to a pastebin by pbput.

pbputs operates exactly like pbput, except it encrypts the data. An optional GPG_USER
argument is allowed, which will sign and encrypt the data to the target user in one's
keyring (which could be oneself!). Otherwise, the user is prompted for a symmetric
passphrase for encrypting the content with gpg(1) before uploading. pbget will
automatically prompt the receiving user for the pre-shared passphrase.

pbput and pbputs can take its input either on STDIN, or as a FILENAME argument.
- If STDIN is used, then the receiving user's pbget will simply paste the input on
STDOUT.
- If a FILENAME or DIRECTORY is passed as an argument, then it is first archived using
tar(1) to preserve the file and directory attributes

pbget takes a URL as its first, mandatory argument. Optionally, it takes a DIRECTORY as a
second parameter. If the incoming data is in fact a file or file structure in a tar(1)
archive, then that data will be extracted in the specified DIRECTORY. If no DIRECTORY is
specified, then a temporary directory is created using mktemp(1).

In any case the uploaded/downloaded data is optionally tar(1) archived, always lzma(1)
compressed, optionally gpg(1) encrypted, and always base64(1) encoded.
http://pastebin.com is used by default.

EXAMPLES


$ pbput /sbin/init
http://pastebin.com/BstNzasK
$ pbget http://pastebin.com/BstNzasK
sbin/init
INFO: Output is in [/tmp/pbget.bG67DwY6Zl]

$ cat /etc/lsb-release | pbput
http://pastebin.com/p43gJv6Z
$ pbget http://pastebin.com/p43gJv6Z
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"

$ pbputs /etc/shadow
Enter passphrase:
http://pastebin.com/t2ZaCYr3
$ pbget http://pastebin.com/t2ZaCYr3
Enter passphrase:
root:09cc6d2d9d63371a425076e217f77698:15096:0:99999:7:::
daemon:*:15089:0:99999:7:::
bin:*:15089:0:99999:7:::
sys:*:15089:0:99999:7:::
....

Use pbget online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad