• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

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

武飞扬头像
51CTO
帮助0

今天,猿妹要和大家分享一个简单,方便,快捷的命令行文件分享服务——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)

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

上传:

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

加密上传:

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

下载和解密:

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

上传到virustotal:

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

删除

  1. $ curl -X DELETE  

设置最大下载量

  1. $ curl --upload-file ./hello.txt https://transfer.sh/hello.txt -H "Max-Downloads: 1" # Limit the number of downloads 

设置最大天数

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

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /news/detail/tangfihfj
系列文章
更多 icon
同类精品
更多 icon
继续加载