made spacemall case insensitive
authorChris Koeritz <fred@gruntose.com>
Wed, 1 May 2019 19:48:32 +0000 (15:48 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 1 May 2019 19:48:32 +0000 (15:48 -0400)
scripts/core/functions.sh

index 109c72f855d331c0cd86bdd4c3c3ffc2b1f2a999..3b782a70d52b6f237fd67506fd9574d9e8828f74 100644 (file)
@@ -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"