Created
February 16, 2024 13:51
-
-
Save PauloLuan/c4c4c9fcd87ad25ca50e16b0abced657 to your computer and use it in GitHub Desktop.
clean_all_nodemodules_from_computer.sh
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
#! /usr/bin/env sh | |
set -e | |
find "${1-"$(pwd)"}" -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