added RTF as a file ending for spacemall
authorChris Koeritz <fred@gruntose.com>
Fri, 11 Dec 2020 21:10:44 +0000 (16:10 -0500)
committerChris Koeritz <fred@gruntose.com>
Fri, 11 Dec 2020 21:10:44 +0000 (16:10 -0500)
scripts/core/functions.sh

index 9f390546ee5c3ee0c9dcb7af190c454100277d2a..a2b28bddeccc72ec056c5d564df0753af9c708fa 100644 (file)
@@ -952,7 +952,7 @@ return 0
 #hmmm: any way to do the below more nicely or reusably?
     find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \
         grep -i \
-"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|xml\|zip" | \
+"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|rtf\|txt\|vsd\|vsdx\|xls\|xlsx\|xml\|zip" | \
         sed -e 's/^/"/' | sed -e 's/$/"/' | \
         xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh"
     # drop the temp file now that we're done.