added webp as known extension for renamers
authorChris Koeritz <fred@gruntose.com>
Thu, 23 Mar 2023 20:48:04 +0000 (16:48 -0400)
committerChris Koeritz <fred@gruntose.com>
Thu, 23 Mar 2023 20:48:04 +0000 (16:48 -0400)
scripts/core/functions.sh

index 30c36abd80bf96f0bdfb4f3f3b96f35d2704f97a..c1401efe3682d09a7478bd8842b42ee7bfdc4516 100644 (file)
@@ -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.