how to change file name in linux code example
Example 1: bash rename
mv <source-filename> <destination-filename>
mv "Initial_File_Name.txt" "New_File_Name.txt"
Example 2: linux change file name
mv oldfile.txt newfile.txt
Example 3: how to rename a file in terminal
mv "old location" "new location"
mv /home/user/my_static /home/user/static
mv "file1.ext" "file2.ext"
Example 4: rename file linux
mv (option) filename1.ext filename2.ext
Example 5: 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