transfer.sh-在命令行界面上传文件生成外链分享
在桌面版系统计算机上,要上传文件以外链方式分享非常简单,有许多类似文件中转站的分享服务,只需浏览器访问网站操作即可。今天看到个比较特别的文件分享服务,它主要面向命令行界面用户,提供一种简单无需安装额外软件的分享方式,支持多文件上传、加密分享等特性,最长可保存14天。
官网链接
https://transfer.sh/,网页里也可以点击上传。GitHub项目提供有程序源码,可以自行搭建类似服务。
适用场景
- 不借助FTP、lrzsz等传输软件取回文件
- 分享文件而无需在本机开启WEB服务
- 中转下载加速,解决直接下载速度慢问题
使用瓶颈
- 上传文件最大为10G,保存时间最长14天
- 不支持续传,大文件上传需保持稳定网络
- 下载次数达上限后,下载页依然可预览文件
使用示例
上传当前目录下file.txt
文件,之后会自动返回外链链接。域名后面不指定文件名也可以。
curl --upload-file file.txt https://transfer.sh/file.txt
在命令行界面下载已分享的外链文件。
curl https://transfer.sh/xxxxx/file.txt -o file.txt
设置最大下载次数和储存天数,例如文件最多可下载1次,储存1天。
curl -H "Max-Downloads: 1" -H "Max-Days: 1" --upload-file file.txt https://transfer.sh/file.txt
一次上传多个文件。
curl -F filedata=@/tmp/file1.txt -F filedata=@/tmp/file2.txt https://transfer.sh/
使用gpg
加密文件再上传。
cat /tmp/file.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/file.txt
下载并解密文件。
curl https://transfer.sh/1lDau/file.txt|gpg -o- > /tmp/file.txt
generic version dapoxetine citrate https://dapoxetine.confrancisyalgomas.com/
naltrexone and chronic pain https://naltrexoneonline.confrancisyalgomas.com/
generic vidalista prices https://vidalista.mlsmalta.com/
merck ivermectin https://ivermectin.webbfenix.com/
ivermectin dosage for demodex https://ivermectin.mlsmalta.com/
how is hydroxychloroquine manufactured https://hhydroxychloroquine.com/
hydroxychloroquine eye exam https://hydroxychloroquine.mlsmalta.com/
reviews of generic viagra http://droga5.net/
not taking tamoxifen after mastectomy https://tamoxifen.mrdgeography.com/
cheap vidalista pills https://vidalista40mg.mlsmalta.com/
different albuterol inhalers https://amstyles.com/
side effects cialis oral https://wisig.org/
priligy 60mg price walmart https://ddapoxetine.com/
tadalafil research liquid https://tadalafil.cleckleyfloors.com/
study on hydroxychloroquine and covid 19 september https://hydroxychloroquinee.com/
does cialis 20 mg work https://www.lm360.us/
generic viagra pills http://viaaagra.com/
best time to take viagra https://viaplz.com/
is cialis covered by medicare https://cialis.adicbc.com/
is cialis covered by medicare https://cialis.webbfenix.com/
cialis http://cialis.anafassia.com/