diff options
author | David Runge <dave@sleepmap.de> | 2023-12-03 18:33:16 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2023-12-03 18:33:16 +0100 |
commit | 2f694cefe3d30fe65320941bb5ee77472fff0e2b (patch) | |
tree | 84aa7554b4ea733302a1ef62229dbfa67f50474e /bin/lowercase | |
parent | 6760e35c003b7a8efd9f3564773e5ff6a73bfe60 (diff) | |
download | dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.gz dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.bz2 dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.tar.xz dotfiles-2f694cefe3d30fe65320941bb5ee77472fff0e2b.zip |
bin: Remove unused scripts
Signed-off-by: David Runge <dave@sleepmap.de>
Diffstat (limited to 'bin/lowercase')
-rwxr-xr-x | bin/lowercase | 23 |
1 files changed, 0 insertions, 23 deletions
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 |