mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-23 04:30:19 +01:00
commit
fbd10bd2f5
1 changed files with 6 additions and 3 deletions
|
@ -19,8 +19,9 @@ $ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt
|
|||
Upload to 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() {
|
||||
# write to output to tmpfile because of progress bar
|
||||
tmpfile=$( mktemp -t transferXXX )
|
||||
|
@ -30,7 +31,9 @@ transfer() {
|
|||
}
|
||||
|
||||
alias transfer=transfer
|
||||
===
|
||||
```
|
||||
Now run it like this
|
||||
```
|
||||
$ transfer test.txt
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue