mac air 256G日常主力,受不了没完没了的手工清理,写一个专清工具:node_modules + target +一堆cache
Run the tool from the directory you want to inspect, or provide additional roots explicitly. By default it scans the current working directory along with common project folders in your home directory (Projects, workspace, Work, Developer).
devstrip
Key options:
--roots <PATH>... / positional PATH: additional directories to scan.
--exclude <PATH>: skip a directory and everything under it.
--min-age-days <u64>: only target directories older than the given age (default: 2 days).
--max-depth <u32>: maximum depth to descend when scanning for project build folders (default: 5).
--keep-latest-derived <usize>: keep the newest DerivedData and archive entries (default: 1).
--keep-latest-cache <usize>: keep the newest Homebrew cache entries (default: 1).
--dry-run: show what would be removed without deleting anything.
--yes: skip the interactive confirmation prompt.
--no-color: disable ANSI styling (also disabled automatically when NO_COLOR is set).
Ext Link: https://github.com/ruzhila/devstrip
1
共 0 条评论, 1 页
评论区
写评论还没有评论