cmddirs - perform a command in subdirectories
cmddirs [options] command [dir ...]
If no directories are provided, cmddirs will perform the command in all subdirectories of the current working directory. Only subdirectories appropriate for the given command (e.g. git repositories, if your command -contains the word "git") or the given directory options are acted upon.
See the man page (-man) for a full list of available directory filters.
Check the status of all Git repos in this directory: gitall.pl "git status"
Check the status of the Git repos "foo" and "bar" in this directory: gitall.pl "git status" foo bar
Drew Stephens <drew@dinomite.net>
To install App::CmdDirs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CmdDirs
CPAN shell
perl -MCPAN -e shell install App::CmdDirs
For more information on module installation, please visit the detailed CPAN module installation guide.