back to single level for spaceming all
[feisty_meow.git] / scripts / core / functions.sh
index ae0c42073a0e090282b7fa3871f7f824fa03c643..2fda6b3012d3f5d4c2ca978f7d84a68fc633ebc7 100644 (file)
@@ -974,9 +974,7 @@ echo dirs had zero entries
       dirs=(.)
     fi
 echo "dirs are: " "${dirs[@]}"
-
-#was using: -maxdepth 1 -mindepth 1 
-    find "${dirs[@]}" -follow -type f \( $(echo pdf png jpg jpeg odt ods docx m4a mp3 eml html mov pptx xlsx zip | sed -e 's/\([a-z0-9][a-z0-9]*\)/-iname \"*.\1\" -o /g') -iname "*.txt" \) -exec bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" "{}" \;
+    find "${dirs[@]}" -follow -maxdepth 1 -mindepth 1 -type f \( $(echo pdf png jpg jpeg odt ods docx m4a mp3 eml html mov pptx xlsx zip | sed -e 's/\([a-z0-9][a-z0-9]*\)/-iname \"*.\1\" -o /g') -iname "*.txt" \) -exec bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" "{}" \;
   }
 
   ##############