今天,标星别告不知猿妹要和大家分享一个简单,文件方便,传输快捷的神器诉还命令行文件分享服务——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设置最大下载量
$ 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