0

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.

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
YOgesh
  • 11
  • 5
    Have you tried any of the answers on http://unix.stackexchange.com/questions/98070/rename-files-in-directory or http://unix.stackexchange.com/questions/102647/how-to-rename-multiple-files-in-single-command-or-script-in-unix ? – JigglyNaga Jul 31 '16 at 08:35

1 Answers1

2

You can use gnu command rename:

rename "IMG_" "" *.jpg

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

ebal
  • 465
  • 2
  • 6