PMS-Youtube: init
parent
829fe7c9ac
commit
1ec9122c33
Binary file not shown.
|
@ -11,11 +11,13 @@ EOF
|
|||
exit
|
||||
fi
|
||||
|
||||
if command -v renamelower >/dev/null 2>&1; then
|
||||
if ! command -v renamelower >/dev/null 2>&1; then
|
||||
echo "'renamelower' not found in PATH. Exiting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## Note: the -name check is not mandatory, but greatly improves the average
|
||||
## performance.
|
||||
for i ; do
|
||||
find "$i" -depth -exec renamelower {} +
|
||||
find "$i" -depth -name '*[[:upper:]]*' -exec renamelower {} +
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue