my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
746 B

3 years ago
  1. # `transfer` plugin
  2. [`transfer.sh`](https://transfer.sh) is an easy to use file sharing service from the command line
  3. To use it, add `transfer` to the plugins array in your zshrc file:
  4. ```zsh
  5. plugins=(... transfer)
  6. ```
  7. ## Usage
  8. - Transfer a file: `transfer file.txt`.
  9. - Transfer a whole directory (it will be automatically compressed): `transfer dir`.
  10. ### Encryption / Decryption
  11. - Encrypt and upload a file with symmetric cipher and create ASCII armored output:
  12. ```zsh
  13. transfer file -ca
  14. ```
  15. - Encrypt and upload directory with symmetric cipher and gpg output:
  16. ```zsh
  17. transfer directory -ca
  18. ```
  19. - Decrypt file:
  20. ```zsh
  21. gpg -d file -ca
  22. ```
  23. - Decrypt directory:
  24. ```zsh
  25. gpg -d your_archive.tgz.gpg | tar xz
  26. ```