tirnanog 1669000674 learn Given GNU find and bash >=4.0, recursively rename regular files so as to be in lower case (see !faq 30 for more on this topic): find . -depth -type f -name '*[[:upper:]]*' -execdir bash -c 'for f; do mv -- "$f" "${f,,}"; done' _ {} + emanuele6 1669000758 forget emanuele6 1669000801 learn Given GNU find, GNU mv, and bash >=4.0, recursively rename regular files so as to be in lower case (see !faq 30 for more on this topic): find . -depth -name '*[[:upper:]]*' -type f -execdir bash -c 'for f; do mv -n -- "$f" "${f,,}"; done' _ {} + tirnanog 1669001231 forget tirnanog 1669001245 learn find . -depth -name '*[[:upper:]]*' -type f -execdir bash -c 'for f; do f=${f#./}; mv -n -- "$f" "${f,,}"; done' _ {} + tirnanog 1669001358 forget tirnanog 1669001379 learn Given GNU find, GNU mv, and bash >=4.0, recursively rename regular files so as to be in lower case (see !faq 30 for more on this topic): find . -depth -name '*[[:upper:]]*' -type f -execdir bash -c 'for f; do f=${f#./}; mv -n -- "$f" "${f,,}"; done' _ {} + tirnanog 1669002155 forget tirnanog 1669002267 learn Given GNU find, GNU mv, and bash >=4.0, recursively rename directory entries so as to be in lower case (see !faq 30 for more on this topic): find . -depth -name '*[[:upper:]]*' -execdir bash -c 'for f; do f=${f#./}; mv -nT -- "$f" "${f,,}"; done' _ {} +