A minimalist command line tool to facilitate "transfer.sh" usage: upload | download | delete files to/from server with GPG encryption/decryption
Transfer.sh is a command line utility and public file sharing service. It allows you to upload files from the command line and share them with anyone you want. It is a free, open source, minimalist, and fast service.
Run the following command to install transfer-cli (Linux only):
curl https://raw.githubusercontent.com/RajaRakoto/transfer-cli/master/setup > setup && chmod +x setup && ./setup
Uninstall transfer-cli (Linux only):
sudo rm -r "$HOME/.ha_env" /usr/local/bin/transfer-cli
transfer-cli [options] [arguments]...
Options
-u, --upload <file>
| upload file to transfer.sh with GPG encryption -d, --download <url-download>
| download file from transfer.sh with GPG decryption --del, --delete <url-delete>
| delete file from transfer.sh -l, --list
| list all uploaded files from transfer log -e, --edit
| edit transfer log -c, --clear
| clear transfer log -h, --help
| transfer-cli help -v, --version
| transfer-cli version
Arguments
<file>
| file to upload to transfer.sh <url-download>
| url to download file from transfer.sh <url-delete>
| url to delete file from transfer.sh
Examples
transfer-cli -u file.txt
transfer-cli -d https://transfer.sh/3Q2Zg/file.txt
transfer-cli --del https://transfer.sh/3Q2Zg/file.txt/PHYIiRBAnwap