社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Git

Github标星115K,这个文件传输神器别告诉我你还不知道

开源前线 • 4 年前 • 530 次点击  

开源最前线(ID:OpenSourceTop) 猿妹 整编

综合自:https://github.com/dutchcoders/transfer.sh


今天,猿妹要和大家分享一个简单,方便,快捷的命令行文件分享服务——Transfer.sh,最关键的是它支持加密传输数据,最多允许你上传10GB,上传和下载的速度很快,上传后的文件支持URL共享,支持ZIP或Tar压缩格式。

Transfer.sh 旨在与Linux shell一起使用目前支持 s3(Amazon S3)、gdrive(Google Drive)、storj(Storj)提供者和本地文件系统(local)。



目前,Transfer.sh已经在Github上标星11.7K,累计分支1.2K(Github地址:https://github.com/dutchcoders/transfer.sh


下面还是一起来看看使用方法吧:

上传:


$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt


加密上传:


$ cat /tmp/hello.txt|gpg -ac -o-|curl -X PUT --upload-file "-" https://transfer.sh/test.txt


下载和解密:


$ curl https://transfer.sh/1lDau/test.txt|gpg -o- > /tmp/hello.txt


上传到virustotal:


$ curl -X PUT --upload-file nhgbhhj https://transfer.sh/test.txt/virustotal


删除


$ curl -X DELETE Url-Delete Response Header URL>


设置最大下载量


$ curl --upload-file ./hello.txt https:


    
//transfer.sh/hello.txt -H "Max-Downloads: 1" # Limit the number of downloads


设置最大天数


$ curl --upload-file ./hello.txt https://transfer.sh/hello.txt -H "Max-Days: 1" # Set the number of days before deletion



--- EOF ---



推荐↓↓↓


Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/120121