Browse Source

Merge pull request #82 from foorb/readme

Update README.md
tags/v1.0.0
Andrea Spacca 5 years ago
committed by GitHub
parent
commit
fbd10bd2f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      README.md

+ 6
- 3
README.md View File

@@ -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…
Cancel
Save