The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #8 (permalink)  
Old 10-17-2008
xerexes xerexes is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 7
Sorry, forgot to answer about the desired transformation....

either:

Fl_0112.jpg -> Fl_0112_000001.jpg
GB_0112.jpg -> GB_00112_000002.jpg


or


Fl_0112.jpg -> 00000001.jpg
GB_0112.jpg -> 00000002.jpg

Ideally it would be the former rather than the latter i.e. Fl_0112.jpg -> Fl_0112_000001.jpg where a number gets appended to the original filename