diff options
author | EuAndreh <eu@euandre.org> | 2022-10-28 20:05:24 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-10-28 20:05:47 -0300 |
commit | 6f35eb1d26922dff508fe07103b7c0cd90e80a83 (patch) | |
tree | d45d0a4be204f24f0ec2771b9589030d00c41797 /bin | |
parent | bin/vcs: Add initial git_gc() implementation (diff) | |
download | dotfiles-6f35eb1d26922dff508fe07103b7c0cd90e80a83.tar.gz dotfiles-6f35eb1d26922dff508fe07103b7c0cd90e80a83.tar.xz |
bin/gc: Add gc_vcs() step
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -100,6 +100,11 @@ gc_email() { xargs -I{} rm -vf "{}" } +gc_vcs() { + repos -e ~/dev/go/ -e ~/dev/quicklisp/ -e ~/dev/archive/ ~/dev/ | + xargs -I% -P4 x vcs -C% gc OR true +} + BEFORE="$(disk)" set -x @@ -109,6 +114,7 @@ gc_trash gc_tmpdir gc_docker gc_email +gc_vcs wait set +x AFTER="$(disk)" |