diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-01 11:20:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-01 11:20:51 +1200 |
commit | 2b1b973e3de5f6f61dfbc6bc67adde415583ce70 (patch) | |
tree | 3ea8d3b139685951ec94bd6b8226e818e307e9eb /bin | |
parent | Add dub(1) (diff) | |
download | dotfiles-2b1b973e3de5f6f61dfbc6bc67adde415583ce70.tar.gz dotfiles-2b1b973e3de5f6f61dfbc6bc67adde415583ce70.zip |
Only find .git *directories*
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fgscr | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ #!/bin/sh # Find all the Git repositories in a directory and scrub them all hash gscr || exit -find "${@:-.}" -name '*.git' -exec gscr {} + +find "${@:-.}" -name '*.git' -type d -exec gscr {} + |