rename extension of multiple files linux

I recently wanted to rename all my jpg files to png files in one folder on my ubuntu device. The fol­low­ing com­mand did the trick for me.

rename 's/.jpg$/.png/' *.jpg

Ryan Sukale

Ryan is just a regular guy next door trying to manage his life and finances.

You may also like...