aboutsummaryrefslogtreecommitdiff
path: root/home/hidden.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
committerMitch Riedstra <mitch@riedstra.us>2020-09-13 16:10:11 -0400
commit578b04e3f380cfd674cd545f6a4d673b4e046bf5 (patch)
tree0ae11672ff5b90a73e5abb489fa1a5b6d9e67862 /home/hidden.sh
downloadalpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.gz
alpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.xz
Initial
Diffstat (limited to 'home/hidden.sh')
-rwxr-xr-xhome/hidden.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/hidden.sh b/home/hidden.sh
new file mode 100755
index 0000000..6e0c529
--- /dev/null
+++ b/home/hidden.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Shows all hidden repos
+find . -iname cgitrc \
+ | xargs grep -l -n 'hide=1' \
+ | xargs -n1 dirname
+