From: Chris Koeritz Date: Wed, 1 Jul 2020 17:54:02 +0000 (-0400) Subject: added csv as ending for space'm all function X-Git-Tag: 2.140.123^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=63524181d8c621745842a977c3363761e6313124;p=feisty_meow.git added csv as ending for space'm all function --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 0f356d6e..07d6447b 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -921,9 +921,10 @@ return 0 fi local charnfile="$(mktemp $TMP/zz_charn.XXXXXX)" +#hmmm: any way to do the below more nicely or reusably? find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f | \ grep -i \ -"doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|zip" | \ +"csv\|doc\|docx\|eml\|html\|jpeg\|jpg\|m4a\|mov\|mp3\|ods\|odt\|pdf\|png\|ppt\|pptx\|txt\|vsd\|vsdx\|xls\|xlsx\|zip" | \ sed -e 's/^/"/' | sed -e 's/$/"/' | \ xargs bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" # drop the temp file now that we're done.