Command line tool for Transfer.sh server.
You can set the transfersh server url in a configuration file:
User level:
$HOME/.transfersh/config.cfg
System level:
/etc/transfersh/config.cfg
[DEFAULT]
server = https://transfer.sh
Use the helper script transfer-config
to generate the user level config file.
$ transfer-config
$ Please enter a transfersh server url :
pip install transferclient
usage: transfer [-h] [--verbose] [--server SERVER] [-d MAX_DOWNLOADS] [-t MAX_DAYS] F [F ...]
Transfersh client.
positional arguments:
F Files for upload
optional arguments:
-h, --help show this help message and exit
-v, --verbose
--server SERVER Transfersh server url
-d MAX_DOWNLOADS, --max-downloads MAX_DOWNLOADS
Max possible downloads
-t MAX_DAYS, --max-days MAX_DAYS
Max days saved
-e, --encrypt symmetric gpg encryted upload
transfer ./testfile.txt ./testdir
cat /var/log/syslog | transfer