From 388277afc6b690a1e8d86bcc478946449d409d9d Mon Sep 17 00:00:00 2001 From: Patrick Neumann Date: Mon, 8 Apr 2019 20:50:35 +0200 Subject: [PATCH] one more bugfix --- extract-and-index-evolution-mail-storage | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extract-and-index-evolution-mail-storage b/extract-and-index-evolution-mail-storage index 47dbb37..705cfca 100755 --- a/extract-and-index-evolution-mail-storage +++ b/extract-and-index-evolution-mail-storage @@ -180,7 +180,8 @@ done echo "Indexing mails... please wait..." mailboxes="$( find "${T_PRE}${S_PRE}/${user}" \ - -type d -regex ".*\(cur\|new\|tmp\)" -exec dirname '{}' \; )" + -type d \( -name "cur" -or -name "new" -or -name "tmp" \) \ + -exec dirname '{}' \; )" IFS=$'\n' for mailbox in ${mailboxes} ; do