Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
9
.bin/OLD/rename_to_lowercase
Executable file
9
.bin/OLD/rename_to_lowercase
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
find . -maxdepth 1 -type f \
|
||||
| while read line
|
||||
do
|
||||
original="$line"
|
||||
lowercase="$(printf '%s' "$line" | tr '[:upper:]' '[:lower:]')"
|
||||
mv -vf "$original" "$lowercase"
|
||||
done
|
||||
Reference in New Issue
Block a user