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