rename file command in linux code example
Example 1: linux change file name
mv oldfile.txt newfile.txt
Example 2: rename file linux
mv (option) filename1.ext filename2.ext
Example 3: rename set of files terminal linux
$ mmv a\* b\#1
Example 4: 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