X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=db08274fadf8bb762d5bf9f6030c48fa5afa018b;hb=0de1caf60da973466329eb1cf094aa4bc4acc663;hp=0f356d6ef8d094550f32c8c924f5a37b529e0d7d;hpb=0861b8eb52f8441822f4fd9e36df13b3e293844b;p=feisty_meow.git diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 0f356d6e..db08274f 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\|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.