From: Chris Koeritz Date: Fri, 11 Dec 2020 21:10:44 +0000 (-0500) Subject: added RTF as a file ending for spacemall X-Git-Tag: 2.140.128~1^2~40 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=1c1b07ac310120b80ad371ebb586e31d7b12127d;p=feisty_meow.git added RTF as a file ending for spacemall --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 9f390546..a2b28bdd 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -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.