Jan 162010
 

Rename multiple files with linux is quite easy….

With rename it is possible to rename one or more files. In the following example i renamed all pictures with the file-extension „JPG“ in „jpg“:

rename -v ’s/.JPG$/.jpg/‘ *.JPG

IMG_3425.JPG renamed as IMG_3425.jpg
IMG_3428.JPG renamed as IMG_3428.jpg
IMG_3436.JPG renamed as IMG_3436.jpg
IMG_3439.JPG renamed as IMG_3439.jpg
IMG_3440.JPG renamed as IMG_3440.jpg

With the paramter „-v“ all renamed files will be displayed in the terminal.

Sorry, the comment form is closed at this time.