From: Chris Koeritz Date: Wed, 23 Jan 2019 16:57:45 +0000 (-0500) Subject: fix for spacemall alias, proper multi-iname find X-Git-Tag: 2.140.115^2~58 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=470b75f861ce5b2aeb1e83a798bb6a79febe8213;p=feisty_meow.git fix for spacemall alias, proper multi-iname find --- diff --git a/scripts/core/common.alias b/scripts/core/common.alias index ec290f23..170b6e3a 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -141,7 +141,7 @@ define_yeti_alias cputemp='acpi -t' define_yeti_alias reroot='chown -R root:root /root' # space 'em all fixes naming for all of the files of the appropriate types in the current directory. -define_yeti_alias spacemall="find . -maxdepth 1 -mindepth 1 -type f $(echo pdf png jpg jpeg odt ods docx m4a mp3 eml html mov pptx xlsx | sed -e 's/\([a-z0-9][a-z0-9]*\)/-iname \"*.\1\" -o /g') -iname \"*.txt\" -exec bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" \"{}\" \; " +define_yeti_alias spacemall="find . -maxdepth 1 -mindepth 1 -type f \( $(echo pdf png jpg jpeg odt ods docx m4a mp3 eml html mov pptx xlsx | sed -e 's/\([a-z0-9][a-z0-9]*\)/-iname \"*.\1\" -o /g') -iname \"*.txt\" \) -exec bash "$FEISTY_MEOW_SCRIPTS/files/spacem.sh" \"{}\" \; " #2>> ~/.tmp/zz_spacem.log' # yes, these what/who/why functions are really helpful...