2018-05-25 20:44:56 +02:00
|
|
|
# `transfer` plugin
|
|
|
|
|
|
|
|
[`transfer.sh`](https://transfer.sh) is an easy to use file sharing service from the command line
|
2017-02-07 14:40:21 +01:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2018-05-25 20:44:56 +02:00
|
|
|
Add `transfer` to your plugins array in your zshrc file:
|
|
|
|
```zsh
|
|
|
|
plugins=(... transfer)
|
|
|
|
```
|
|
|
|
|
|
|
|
Then you can:
|
|
|
|
|
|
|
|
- transfer a file:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
transfer file.txt
|
|
|
|
```
|
|
|
|
|
|
|
|
- transfer a whole directory (it will be automatically compressed):
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
transfer directory/
|
|
|
|
```
|