diff options
author | Tom Barrett <tombarrett@siu.edu> | 2017-07-04 06:05:55 -0500 |
---|---|---|
committer | Tom Barrett <tombarrett@siu.edu> | 2017-07-04 06:05:55 -0500 |
commit | ab62b18a6daeed6548ed42fee1c796d3e695139f (patch) | |
tree | e6d99a71c39ecc14c93fef9650820119803c26c6 | |
parent | d745715dd2d3d1aaa19bc25ea5e72e818f721f6b (diff) |
-handy script
-rwxr-xr-x | gitStatusAll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gitStatusAll b/gitStatusAll new file mode 100755 index 0000000..a3d9de6 --- /dev/null +++ b/gitStatusAll @@ -0,0 +1,12 @@ +#!/bin/bash +echo +for dir in *; do + check=$(file $dir) + if [[ $check == *"directory"* ]]; then + cd $dir + echo $dir + git status + echo + cd .. + fi +done |