summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2016-12-16 10:00:01 +0000
committerParabola git <git@parabola.nu>2016-12-16 10:00:01 +0000
commit1f7e5695caf9a801f60c55c6591537826e351070 (patch)
tree55622f4f50fe87ab977e9805528cb105ecb5d923 /.local
parent4ac25f0956d140c40c661811ff03a70282573a95 (diff)
Update from cron
Diffstat (limited to '.local')
-rw-r--r--.local/bin/garbage-collect2
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/garbage-collect b/.local/bin/garbage-collect
new file mode 100644
index 0000000..a133040
--- /dev/null
+++ b/.local/bin/garbage-collect
@@ -0,0 +1,2 @@
+#!/bin/bash
+find . -name '*.git'|while read -r dir; do(cd "$dir" && git gc); done