summaryrefslogtreecommitdiff
path: root/lcase.sh
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2026-06-24 20:39:09 +0100
committerIan C <ianc@noddybox.co.uk>2026-06-24 20:39:09 +0100
commit38dbffd816a23d5aab1df74a37da48701f831321 (patch)
tree2126296a6e8a5b26f709c34410779eddade621b9 /lcase.sh
parentd1b1d274216b5c3e0011544f3c74a23744776f87 (diff)
Added cpflat and changed lcase and ucase to take optional extensionHEADmaster
Diffstat (limited to 'lcase.sh')
-rwxr-xr-xlcase.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/lcase.sh b/lcase.sh
index 54359f7..c41a1a8 100755
--- a/lcase.sh
+++ b/lcase.sh
@@ -3,7 +3,11 @@
IFS='
'
-flist=$(find . -type f)
+if [ "$1" ] ; then
+ flist=$(find . -type f -iname "*.$1")
+else
+ flist=$(find . -type f)
+fi
for i in $flist ; do
fname=$(basename $i)