通过Wetransfer从终端上传和下载文件
transmat的Python项目详细描述
transmat
通过WeTransfer从终端上传和下载文件
安装
pip install transmat
用法
首先,您需要来自WeTransfer Developers portal的有效api密钥
export WETRANSFER_API_KEY=<your-api-key>
上载文件
transmat -u file1 file2 ..
transmat -u file1 file2 ..
您还可以传递一条消息,该消息将显示在湿传送页面中
transmat -u file1 file2 .. -m "Here's the files you needed!"
下载文件
transmat -d https://we.tl/abcdef...
transmat -d https://we.tl/abcdef...
WeTransfer会自动压缩多个文件下载