helee9199
V2EX  ›  macOS

mac 如何搜索.idea 的隐藏文件夹?

  •  
  •   helee9199 · Nov 8, 2023 · 1757 views
    This topic created in 1101 days ago, the information mentioned may be changed or developed.

    idea 的配置文件,我想批量删除 有没有像 windows everything 那样, 直接搜到这些隐藏文件的软件或方法呀?。

    6 replies  •  2023-11-08 12:35:16 +08:00
    luman
    luman
    Nov 8, 2023
    1
    find . -name .idea
    kristofer
    kristofer
    Nov 8, 2023
    2
    "ls -a" ?
    seanzxx
    seanzxx
    Nov 8, 2023
    3
    搜索:find . -name '.idea'
    搜索加删除:find . -name '.idea' -exec rm -rf {} \;
    knightdf
    knightdf
    Nov 8, 2023
    4
    find /path/to -type d -name '.idea' -exec rm -rf {} +
    helee9199
    helee9199
    OP
    Nov 8, 2023
    5
    @sunjiayao
    @seanzxx
    @knightdf 好的 感谢各位, 又学到了。
    SPX6900
    SPX6900
    Nov 8, 2023
    6
    linux shell 的基本操作哇
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3099 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:12 · PVG 18:12 · LAX 02:12 · JFK 05:12
    ♥ Do have faith in what you're doing.