diff options
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 |