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 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
jamied_uk
jamied_uk
Admin

Posts : 2472
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

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