From: Fred T. Hamster <fred@gruntose.com> Date: Wed, 2 Apr 2025 13:37:01 +0000 (-0400) Subject: ignoring tilde files now X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=5a2de01ee2a5d22a11bffb993fbd83feeaf148bd;p=feisty_meow.git ignoring tilde files now we don't want to mess with these at all. --- diff --git a/scripts/files/spacem.sh b/scripts/files/spacem.sh index 05ec50e6..2932fa72 100644 --- a/scripts/files/spacem.sh +++ b/scripts/files/spacem.sh @@ -4,6 +4,12 @@ function spacem_out() { while [ $# -gt 0 ]; do arg="$1"; shift + + if [[ $arg =~ ~* ]]; then +echo "skipping tilde style name: '$arg'" + continue + fi + if [ ! -f "$arg" -a ! -d "$arg" ]; then echo "=> did not find a file or directory named '$arg'." continue