PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Bulk Rename file extension in Linux With Command Line

Go down

Bulk Rename file extension in Linux With Command Line Empty Bulk Rename file extension in Linux With Command Line

Post by jamied_uk 3rd October 2015, 03:31

Bulk Rename file extension in Linux With Command Line



This example takes files with extension of .jpg:large and takes out the :larg part so that it reads filename.jpg instead of .jpg:large like linux and twitter file picture saving causes!
Code:
rename -v 's/\.jpg:large$/\.jpg/' *.jpg:large
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum