revans/bash-it — pull request #140 by nwinkler (2012-05-29 12:38:33+00:00)
Title: Bash it for all dirs

Added for_all_dirs function to loop through all subdirectories of the current directory and run a command there.

Example: $ for_all_dirs svn up
This will update each subdirectory's content from Subversion. Useful in case you have multiple separate Subversion projects from different roots in the directory that you want to update using one command.

Can be used for all other commands as well, e.g. for several separate git repositories under the same root directory:
$ for_all_dirs git pull