hanli
V2EX  ›  Windows

windows 下有搜索大量 zip 文件内的文件名的工具?

  •  
  •   hanli · Mar 12, 2024 · 2143 views
    This topic created in 966 days ago, the information mentioned may be changed or developed.

    一个文件夹内有大量的 zip 格式压缩包(实际后缀为 var ),想要在不解压的情况下搜索压缩包内的文件名(不需要搜索文件内容),有这样的工具吗?多谢!

    4 replies  •  2024-03-18 05:13:26 +08:00
    tool2d
    tool2d
    Mar 12, 2024
    1
    你让 gpt4 帮你写几段搜索脚本,调用 api 的事情,几分钟就搞定了。
    hanli
    hanli
    OP
    Mar 12, 2024
    2
    @tool2d #1 这也是个办法,已经用 python 实现了基本需求😁
    beyondex
    beyondex
    Mar 12, 2024 via Android
    3
    归海数据桌面搜索,不仅能收压缩包内文件名,还能搜压缩包内常用文档内容
    还支持压缩包套娃,就是压缩包内又套了一个压缩包
    busier
    busier
    Mar 18, 2024 via iPhone
    4
    Linux shell 也可以啊

    find + while 枚举文件列表
    然后 file 探测文件是不是 zip
    用 unzip 列出压缩包内文件
    grep 下关键字就出来了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2978 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:55 · PVG 18:55 · LAX 02:55 · JFK 05:55
    ♥ Do have faith in what you're doing.