From: Chris Koeritz Date: Thu, 23 Mar 2023 20:48:04 +0000 (-0400) Subject: added webp as known extension for renamers X-Git-Tag: 2.140.136^2~2 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=10ef2e61054f8583ea96d7228b41ab2e4f2ddfc3 added webp as known extension for renamers --- diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 30c36abd..c1401efe 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -975,7 +975,7 @@ return 0 #hmmm: would the composition of those two types of extensions cover all the files i want to rename? they have to be "important". find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f -and -not -iname ".[a-zA-Z0-9]*" | \ grep -i \ -"csv\|doc\|docx\|eml\|html\|ics\|jpeg\|jpg\|m4a\|mov\|mp3\|odp\|ods\|odt\|pdf\|png\|ppt\|pptx\|rtf\|txt\|vsd\|vsdx\|wav\|xls\|xlsx\|xml\|zip" | \ +"csv\|doc\|docx\|eml\|html\|ics\|jpeg\|jpg\|m4a\|mov\|mp3\|odp\|ods\|odt\|pdf\|png\|ppt\|pptx\|rtf\|txt\|vsd\|vsdx\|wav\|webp\|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.