Find the answer to your Linux question:
Results 1 to 3 of 3
I am looking for a way to rename a images in a directory (all with random names) to sequentially numbered files ie blah.jpg, whatever.jpg to 01.jpg,02.jpg Is there also a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Location
    South Africa
    Posts
    88

    images renaming and manipulation


    I am looking for a way to rename a images in a directory (all with random names)
    to sequentially numbered files ie blah.jpg, whatever.jpg to 01.jpg,02.jpg

    Is there also a way to do this while coverting the images using 'covert'

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Posts
    575
    Yes , you can do it quite easily with a shell script (or awk script , or Perl script or...)
    So get yourself a book in one of those.If you want recommendations let us know.

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Location
    South Africa
    Posts
    88
    Thanks
    Do you know of any good web references/tutorials on writing shell script? Don't really have money to spend on books at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •