aboutsummaryrefslogtreecommitdiff
path: root/cleanup.sh
diff options
context:
space:
mode:
authorElizabeth <me@liz.coffee>2025-05-19 23:03:02 -0700
committerElizabeth <me@liz.coffee>2025-05-19 23:03:02 -0700
commit15b24ab9d782a8e5683f305ec8b1c31849a64246 (patch)
treebdb7c85f0d1f81e493c43360125ca61d6d26145c /cleanup.sh
downloaddots-15b24ab9d782a8e5683f305ec8b1c31849a64246.tar.gz
dots-15b24ab9d782a8e5683f305ec8b1c31849a64246.zip
initial commit
Diffstat (limited to 'cleanup.sh')
-rwxr-xr-xcleanup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/cleanup.sh b/cleanup.sh
new file mode 100755
index 0000000..4b208c1
--- /dev/null
+++ b/cleanup.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+find . -type d -mindepth 1 -maxdepth 1 -not -path '*/.*' \
+ | sed "s/^\.\///" \
+ | while read dir; do stow -D "$dir"; done