3 ms·
Hi...I write a wrapper tool, hopeful easy to use, and now just upload & download twice function. https://github.com/daineseh/py-transfer.sh https://github.com/
by daineseh 12y ago
Hi...I write a wrapper tool, hopeful easy to use,
and now just upload & download twice function.
https://github.com/daineseh/py-transfer.sh https://github.com/daineseh/py-transfer.sh
ex1: Upload a file to http://transfer.sh http://transfer.sh
$./pt.py -u /home/something/file1
# and output a link for download:
https://transfer.sh/19Xwp/file1
ex2: Upload multiple files to http://transfer.sh http://transfer.sh
$./pt.py -u /home/something/file1 /home/something/file2 /home/something/file3
# and output some link for downloads:
https://transfer.sh/19Xwp/file1
https://transfer.sh/19Xwp/file2
https://transfer.sh/19Xwp/file3
ex3: download multiple files from http://transfer.sh http://transfer.sh
$./pt.py -d https://transfer.sh/19Xwp/file1 https://transfer.sh/1fn4k/file2
# Print downloads information:
Download ./file1 done.
Download ./file2 done.
ex4: download multiple files and specify path from http://transfer.sh http://transfer.sh
$./pt.py -d https://transfer.sh/19Xwp/file1 https://transfer.sh/1fn4k/file2 -w /home/user/
# Print downloads information:
Download /home/user/file1 done.
Download /home/user/file2 done.