blob: 3883b150766398906d2a477e3a6fd65acf3a0b55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# upaste
Paste and upload files on ix.io and x0.at .
ix.io is used for piped text.
x0.at is used for stdin upload and file upload because it correctly set filetype.
### Usage
Bash file uploader
Usage :
# Upload a file
```
$ up [OPTIONS] file
$ cat file.ext | up [OPTIONS]
```
# Upload text
```
$ echo "upaste rocks" | up
$ up
upaste
really
rocks
C-d C-d
```
Options :
-h Print this usage
-a Disable autocopy in clipboard
|