Skip to content

Installation and basic usage

Mark Polyakov edited this page Oct 20, 2017 · 2 revisions

Installation

The quickest way to install Anypaste is to grab the bash script from anypaste.xyz/sh into your $PATH and mark it executable. Basically, run the command:

sudo curl -o /usr/bin/anypaste https://anypaste.xyz/sh && chmod +x /usr/bin/anypaste

You could also get the anypaste executable from the git repo.

Updating

Just download anypaste again and overwrite the old file. If new built-in plugins have been added in a release, you will need to add these to your configuration file before you can use them. If you haven't modified your configuration file, it's safe to just delete it when you update, and anypaste will automatically create a new one.

Basic Usage

To upload a file, just run anypaste /path/filename. Anypaste can also read from stdin (eg, cat somefile anotherfile | anypaste). You can upload multiple files: anypaste file1 file2. They will be uploaded individually. Folders will be automatically tarballed (.tar.gz) if you try to upload one. Is there anything anypaste can't do? (hint: yes).

Clone this wiki locally