Created
May 25, 2020 06:10
-
-
Save ZoolWay/2c46bc62cea0e6a311c1e8d1bdca2eba to your computer and use it in GitHub Desktop.
Bash Aliases to run over multiple working copies
This file contains hidden or 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
gitall() { | |
find . -mindepth 2 -maxdepth 2 -name .git -type d -execdir echo \; -execdir pwd \; -execdir git $1 \; | |
} | |
mvnall() { | |
find . -mindepth 2 -maxdepth 2 -name pom.xml -type f -execdir echo \; -execdir pwd \; -execdir mvn $1 \; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment