10 lines
191 B
Plaintext
10 lines
191 B
Plaintext
|
#!/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
|