summaryrefslogtreecommitdiff
path: root/gitStatusAll
diff options
context:
space:
mode:
authorTom Barrett <tombarrett@siu.edu>2017-07-04 06:05:55 -0500
committerTom Barrett <tombarrett@siu.edu>2017-07-04 06:05:55 -0500
commitab62b18a6daeed6548ed42fee1c796d3e695139f (patch)
treee6d99a71c39ecc14c93fef9650820119803c26c6 /gitStatusAll
parentd745715dd2d3d1aaa19bc25ea5e72e818f721f6b (diff)
-handy script
Diffstat (limited to 'gitStatusAll')
-rwxr-xr-xgitStatusAll12
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