From 89f83b2eaa778f0b94f88c4bcfd4c73b0589526a Mon Sep 17 00:00:00 2001 From: TiynGER Date: Thu, 27 Feb 2020 14:17:02 +0100 Subject: [PATCH] cleanname structure fixes --- .local/bin/etc/cleanname | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/etc/cleanname b/.local/bin/etc/cleanname index 41e3672..54ad8f0 100755 --- a/.local/bin/etc/cleanname +++ b/.local/bin/etc/cleanname @@ -8,13 +8,13 @@ do echo "skipping $newname, because it already exists" rm "$oldname"; else - echo "renaming file $oldname to $newname" + echo "renaming file $oldname to $newname" if [ -f "$oldname" ]; then mv "$oldname" "$newname"; elif [ -d "$oldname" ]; then cp -r "$oldname/." "$newname" && rm -r "$oldname"; else - mv "$oldname" "$newname" + mv "$oldname" "$newname"; fi fi fi