1 karma · joined Oct 1, 2014 (12y ago) · 1 submissions
comment 12y ago · link · parent
https://github.com/daineseh/py-transfer.sh
ex1: Upload a file to 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 $./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 $./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 $./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.