Search and replace strings in filenames from console

Submitted by root on Thu, 06/03/2021 - 16:01
find . -maxdepth 5 -type f -name "*lesaka*.*" | while read FNAME; do mv "$FNAME" "${FNAME//lesaka/arantza}"; done