警告:二进制输出可能会弄乱您的终端。使用“--output -”来告诉

问题描述 投票:0回答:1

为什么

!curl -0
不处理这个数据库并保存?我相信它应该有效。不太确定
--output--
可以用来告诉..

!curl -0 http://openrecipes.s3.amazonaws.com/recipeitems-latest.json.gz

Warning: Binary output can mess up your terminal. Use "--output -" to tell 
Warning: curl to output it to your terminal anyway, or consider "--output 
Warning: <FILE>" to save to a file.
curl
1个回答
2
投票

只需将

--output recipeitems-latest.json.gz
添加到您的命令中,然后它将存储为二进制文件(原样)

© www.soinside.com 2019 - 2024. All rights reserved.