Bulk Rename file extension in Linux With Command Line

View previous topic View next topic Go down

Bulk Rename file extension in Linux With Command Line

Post by jamied_uk on 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
avatar
jamied_uk
Admin

Posts : 2260
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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