PMS-Youtube: init

master
Pierre Neidhardt 2014-02-09 15:02:53 +01:00
parent 829fe7c9ac
commit 1ec9122c33
2 changed files with 4 additions and 2 deletions

BIN
.config/pms-youtube/config Normal file

Binary file not shown.

View File

@ -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