Rename files in Bash with Regular expressions

Sometimes it's necessary to rename files following some patterns. Doing this task manually is a long task if you have a thousand files. For this reason, I use rename command: Debug and preview: $ rename'REGULAR EXPRESSION' files -n Some of the most common expressions ...