Upload and download file via WeTransfer from terminal
File upload command uses the py3wetransfer module, which supports the WeTransfer Public API V2.
pip install transmat
or
pip install --user transmat
First of all you'll need a valid API Key from WeTransfer Developers portal
export WETRANSFER_API_KEY=<your-api-key>
transmat -u file1 file2 ..
You can also attach a message to be displayed on the WeTransfer page
transmat -u file1 file2 .. -m "Write your message here"
transmat -d https://we.tl/abcdef...
Multiple files downloads are automatically zipped by WeTransfer