From 876833652200f44ea5aa738f01a1bb915737b950 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 1 May 2019 15:48:32 -0400 Subject: [PATCH] made spacemall case insensitive --- scripts/core/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 109c72f8..3b782a70 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -932,7 +932,7 @@ return 0 local charnfile="$(mktemp $TMP/zz_charn.XXXXXX)" find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \ - grep \ + grep -i \ "docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|pptx\|txt\|xlsx\|zip" | \ sed -e 's/^/"/' | sed -e 's/$/"/' | \ xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" -- 2.34.1