mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
Update README.md
This commit is contained in:
parent
7bf499b092
commit
dddc2ecfcc
@ -19,8 +19,9 @@ $ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
|
|||||||
Upload to virustotal:
|
Upload to virustotal:
|
||||||
$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
|
$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal
|
||||||
|
|
||||||
Add alias to .bashrc or .zshrc:
|
```
|
||||||
===
|
## Add alias to .bashrc or .zshrc
|
||||||
|
```
|
||||||
transfer() {
|
transfer() {
|
||||||
# write to output to tmpfile because of progress bar
|
# write to output to tmpfile because of progress bar
|
||||||
tmpfile=$( mktemp -t transferXXX )
|
tmpfile=$( mktemp -t transferXXX )
|
||||||
@ -30,7 +31,9 @@ transfer() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
alias transfer=transfer
|
alias transfer=transfer
|
||||||
===
|
```
|
||||||
|
Now run it like this
|
||||||
|
```
|
||||||
$ transfer test.txt
|
$ transfer test.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user