From 470b75f861ce5b2aeb1e83a798bb6a79febe8213 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Wed, 23 Jan 2019 11:57:45 -0500 Subject: [PATCH] fix for spacemall alias, proper multi-iname find --- scripts/core/common.alias | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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... -- 2.34.1