renaming files on linux code example
Example 1: rename a file in linux
mv oldfile.txt newfile.txt
Example 2: linux find and rename files with text
find . -type f -name 'Lucky-*' | while read FILE ; do
newfile="$(echo ${FILE} |sed -e 's/\\#U00a9/safe/')" ;
mv "${FILE}" "${newfile}" ;
done