Created
January 3, 2024 06:49
-
-
Save whidy/379889645f24cb4156e747faf372ab54 to your computer and use it in GitHub Desktop.
删除macos下的某个目录下所有子目录内的node_modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ~/webs -name "node_modules" -type d -prune -exec rm -rf '{}' + |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment