Showing posts with label Changing extension to multiple files. Show all posts
Showing posts with label Changing extension to multiple files. Show all posts

Sunday, June 19, 2016

Changing Extension to Multiple Files on OpenSUSE

To change extension of multiple files (suppose all .txt files to .jpg), open terminal and execute the following command:

rename txt jpg *.txt

Explanation: here, it replaces the every occurrence of txt to jpg in all file matching "*.txt"

To change back to .txt, execute the following command:

rename jpg txt *.jpg