From ab62b18a6daeed6548ed42fee1c796d3e695139f Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Tue, 4 Jul 2017 06:05:55 -0500 Subject: -handy script --- gitStatusAll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 gitStatusAll (limited to 'gitStatusAll') 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 -- cgit v1.2.3