]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/transfer/README.md
...
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / transfer / README.md
1 # `transfer` plugin
2
3 [`transfer.sh`](https://transfer.sh) is an easy to use file sharing service from the command line
4
5 To use it, add `transfer` to the plugins array in your zshrc file:
6
7 ```zsh
8 plugins=(... transfer)
9 ```
10
11 ## Usage
12
13 - Transfer a file: `transfer file.txt`.
14
15 - Transfer a whole directory (it will be automatically compressed): `transfer dir`.
16
17 ### Encryption / Decryption
18
19 - Encrypt and upload a file with symmetric cipher and create ASCII armored output:
20
21   ```zsh
22   transfer file -ca
23   ```
24
25 - Encrypt and upload directory with symmetric cipher and gpg output:
26
27   ```zsh
28   transfer directory -ca
29   ```
30
31 - Decrypt file:
32
33   ```zsh
34   gpg -d file -ca
35   ```
36
37 - Decrypt directory:
38
39   ```zsh
40   gpg -d your_archive.tgz.gpg | tar xz
41   ```