Created
February 26, 2021 15:24
-
-
Save yeisoncruz16/ccbc91caf0e12681c1630d2dcc2c92fd to your computer and use it in GitHub Desktop.
Perform action inside multiple folders
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
for D in *; do | |
if [ -d "${D}" ]; then | |
echo "Processing -> ${D}" | |
cd "${D}" && YOU_SPECIAL_COMMAND_GO_HERE && cd - | |
echo "----------------------------"; | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment