Transfer files simply in shell.
upload and download powered by https://transfer.sh/.
pip install file-transfer-tools
git clone https://github.com/wyg1997/transfer.git
cd transfer
pip install .
Run transfer -h
in shell to see usage.
transfer upload <directory/file>
NOTE: You should install GnuPG firstly.
transfer upload -e <directory/file>
" or transfer upload --encrypt <directory/file>
" and type password
transfer download [-o <target_path>] <url>
transfer download -d [-o <target_path>] <url>
Paste the content of file to https://pastebin.mozilla.org/.
transfer paste [-h] [--expires {once,1h,1d,1w,21d}] [--type TYPE] target
NOTE: All supported TYPE see file type mapping.md. But you needn't assign the type in most situation, it will automatically choose a suitable type according file extension.