rename multiple files extension linux code example
Example 1: bash change file extension
rename "s/oldExtension/newExtension/" *.txt
Example 2: rename multiple files linux
rename 's/old-name/new-name/' files
rename "s/oldExtension/newExtension/" *.txt
rename 's/old-name/new-name/' files