It’s a powerful command to rename files in a batch.
Usage:
rename ‘s/(\d+)$/$1\.txt/’ * rename add ‘.txt’ extension name for all files that ends with number.