diff options
| author | Elizabeth <me@liz.coffee> | 2025-05-19 23:03:02 -0700 |
|---|---|---|
| committer | Elizabeth <me@liz.coffee> | 2025-05-19 23:03:02 -0700 |
| commit | 15b24ab9d782a8e5683f305ec8b1c31849a64246 (patch) | |
| tree | bdb7c85f0d1f81e493c43360125ca61d6d26145c /cleanup.sh | |
| download | dots-15b24ab9d782a8e5683f305ec8b1c31849a64246.tar.gz dots-15b24ab9d782a8e5683f305ec8b1c31849a64246.zip | |
initial commit
Diffstat (limited to 'cleanup.sh')
| -rwxr-xr-x | cleanup.sh | 5 |
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 |
