【问题标题】:Warning: Binary output can mess up your terminal. Use "--output -" to tell警告:二进制输出可能会弄乱你的终端。用\"--output -\"来告诉
【发布时间】:2023-01-18 15:13:18
【问题描述】:

为什么 !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.


Thanks

【问题讨论】:

  • 阅读这三行作为同一消息的一部分。然后说明相当清楚

标签: curl


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-28
    • 2011-10-02
    相关资源
    最近更新 更多