Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrousavy/qpastebin
A quick Pastebin-uploader shell script using curl and the Pastebin REST API
https://github.com/mrousavy/qpastebin
bash pastebin script shell
Last synced: about 2 months ago
JSON representation
A quick Pastebin-uploader shell script using curl and the Pastebin REST API
- Host: GitHub
- URL: https://github.com/mrousavy/qpastebin
- Owner: mrousavy
- Created: 2017-10-13T16:43:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-13T17:58:10.000Z (over 7 years ago)
- Last Synced: 2024-11-05T19:48:10.479Z (3 months ago)
- Topics: bash, pastebin, script, shell
- Language: Shell
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QPastebin
> A script to quickly paste text or files to [pastebin.com](http://pastebin.com)
## Install:
> (Optional)1. Set API Token in `qpaste.sh` line **3**
```sh
vim qpaste.sh
```
2. Run install script
```sh
$ sudo ./install.sh
```## Run:
> Run `./qpaste.sh` instead of `qpaste` if you didn't **[install](#install)**
1. Upload text
```sh
$ qpaste "Hello world!"
```
2. Upload a file
```sh
$ qpaste mycode.cpp
```> (You can also directly copy the outputted link via `xclip`)