From 5a2de01ee2a5d22a11bffb993fbd83feeaf148bd Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Wed, 2 Apr 2025 09:37:01 -0400 Subject: [PATCH] ignoring tilde files now we don't want to mess with these at all. --- scripts/files/spacem.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1