commit 724f2a81b804869a16f47e7bc044c8e9b0955772 parent 589bb548ad2b953ff55b904bfbdc6b76add802c9 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 10 Dec 2019 18:36:21 +0100 Improve directory exclusion when listing mailboxes Diffstat:
M | .local/bin/mailboxes | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/mailboxes b/.local/bin/mailboxes @@ -14,7 +14,7 @@ fi echo "mailboxes \\" cd $mailroot -find . -type d | grep -v -e '^\.$' -e 'cur' -e 'new' -e 'tmp' | \ +find . -type d | grep -v -e '^\.$' -e '\/cur$' -e '\/new$' -e '\/tmp$' | \ sed 's/^\.\// "+/;s/$/" \\/' echo