/py-transmat

Upload and download file via WeTransfer from terminal

Primary LanguagePythonMIT LicenseMIT

Transmat

Upload and download file via WeTransfer from terminal

File upload command uses the py3wetransfer module, which supports the WeTransfer Public API V2.

Install

pip install transmat 

or

pip install --user transmat

Usage

First of all you'll need a valid API Key from WeTransfer Developers portal

export WETRANSFER_API_KEY=<your-api-key>

Upload file(s)

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"

Download files

transmat -d https://we.tl/abcdef... 

Multiple files downloads are automatically zipped by WeTransfer