Recently I uploaded a few photos to the my site and I did a mistake in the name: Kirenia intead of Kyrenia. There were ten files but I didn’t want to change their names one by one. Thanks to bash. It offers an easy and elegant way to fix this problem: for FILE in `find|grep Kirenia`; do TARGET=$(echo $FILE | sed -e “s/Ki/Ky/”); mv $FILE […]