From 2f694cefe3d30fe65320941bb5ee77472fff0e2b Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 3 Dec 2023 18:33:16 +0100 Subject: bin: Remove unused scripts Signed-off-by: David Runge --- bin/lowercase | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 bin/lowercase (limited to 'bin/lowercase') diff --git a/bin/lowercase b/bin/lowercase deleted file mode 100755 index 09273b0..0000000 --- a/bin/lowercase +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# lowerext.sh - -while read f; do - if [[ "$f" = *.* ]]; then - # Extract the basename - b="${f%.*}" - - # Extract the extension - x="${f##*.}" - - # Convert the extension to lower case - # Note: this only works in recent versions of Bash - l="${x,,}" - - if [[ "$x" != "$l" ]]; then - mv "$f" "$b.$l" - fi - else - continue - fi -done -- cgit v1.2.3-70-g09d2