From 1ec9122c33ccc437f68c731945eae6f76c475c34 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 9 Feb 2014 15:02:53 +0100 Subject: [PATCH] PMS-Youtube: init --- .config/pms-youtube/config | Bin 0 -> 218 bytes .scripts/renamelowerrec | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .config/pms-youtube/config diff --git a/.config/pms-youtube/config b/.config/pms-youtube/config new file mode 100644 index 0000000000000000000000000000000000000000..2bb5fa160c8cd19feabf46197dc2f898219c5e0b GIT binary patch literal 218 zcmXwx%L;-(6oxHLOAYER+L+HUj6;fsF{5=_NsEDkB#&s&B4{~}-K4bpuit0-Mq>k> zVHh-KG%XJiDHu)^xH=MXeyWa1#B!XD$sr?W#tGjEG-0VHK`Sr!`zyfyCOfnS(r^<6 zDN2De1^$o32&ZwiFGWJpR/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