How to rename multiple file using shell script?

This question already has an answer here:

  • Rename files in directory 5 answers

i just want to rename my images.

IMG_20160713_173102.jpg file to 20160713_173102.jpg

i just want to remove that IMG_ part from my filename.

plz help me out..


You can use gnu command rename:

rename "IMG_" "" *.jpg

For more information, read its manual page by running man rename.

Category: shell script Time: 2016-07-31 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.130 (s). 12 q(s)