把几个文件传输服务放在一起做成的 cli,可以更方便地在没有浏览器的环境下使用他们。目前支持的服务有奶牛快传(cowtransfer), 文叔叔, Airportal, CatBox, GoFile, tmplink(需要 token), WeTransfer 等,也支持上传图片到各种奇怪的图床。
https://github.com/Mikubill/transfer
# install
curl -L https://git.io/file-transfer | sh
# upload
./transfer <your-file>
./transfer wss <your-file>
# download
./transfer <your-link>
# encrypt and upload
./transfer cow --encrypt <your-file>
# download and decrypt
./transfer --encrypt --encrypt-key=xxx <your-link>
# upload image
./transfer image <your-image>
./transfer image -b baidu <your-image>