Results 1 to 3 of 3

Thread: randomly rename multiple image files??

  1. #1
    Senior Member
    Join Date
    Oct 2005
    Posts
    589
    Thanks
    12
    Thanked
    32 times in 19 posts

    randomly rename multiple image files??

    Along with probably hundreds of other people I am giving the inlaws a picture frame for christmas loaded with hundreds of photos.

    i've used irfanview to resize all the photos i've chosen, but as the frame doesnt have a random feature i want to rename the files with random numbers so that they wont just play in order.

    anyone know an easy way to batch rename files randomly?

  2. #2
    cat /dev/null streetster's Avatar
    Join Date
    Jul 2003
    Location
    London
    Posts
    4,138
    Thanks
    119
    Thanked
    100 times in 82 posts
    • streetster's system
      • Motherboard:
      • Asus P7P55D-E
      • CPU:
      • Intel i5 750 2.67 @ 4.0Ghz
      • Memory:
      • 4GB Corsair XMS DDR3
      • Storage:
      • 2x1TB Drives [RAID0]
      • Graphics card(s):
      • 2xSapphire HD 4870 512MB CrossFireX
      • PSU:
      • Corsair HX520W
      • Case:
      • Coolermaster Black Widow
      • Operating System:
      • Windows 7 x64
      • Monitor(s):
      • DELL U2311
      • Internet:
      • Virgin 50Mb

    Re: randomly rename multiple image files??

    how many do you have?

    there's probably an easier way but what about calculating md5s then sticking the results into a .bat file

    ie;

    Code:
    C:\Users\mark\Desktop\gauden>md5sums *
    
    MD5sums 1.2 freeware for Win9x/ME/NT/2000/XP+
    Copyright (C) 2001-2005 Jem Berkes - http://www.pc-tools.net/
    Type md5sums -h for help
    
    [Path] / filename                              MD5 sum
    -------------------------------------------------------------------------------
    [C:\Users\mark\Desktop\gauden\]
    DSC00163.JPG                                   ef9f4289e28b20e8dfea2f7391a158d0
    DSC00164.JPG                                   98432e794fd974e3253a7cc8d0b4f8bb
    DSC00165.JPG                                   9cb2048ccc126c52ae2ad16f797b235b
    DSC00166.JPG                                   50af180c046bf1b95dbf216d77e578b4
    DSC00167.JPG                                   66f6ea679cada47a4695e262b854e96e
    DSC00168.JPG                                   b4f79da09baaee6ceba3fa4c31d0d2f7
    DSC00169.JPG                                   8f17bf7309d2eb55261876989fb253eb
    DSC00170.JPG                                   88d437f7e0f4a3dd50df703aacb10c0c
    md5sums.exe                                    da1e100dc9e7bebb810985e37875de38
    then stick "move " at the beginning and .JPG at the end so you get

    Code:
    move DSC00163.JPG                                   ef9f4289e28b20e8dfea2f7391a158d0.JPG
    move DSC00164.JPG                                   98432e794fd974e3253a7cc8d0b4f8bb.JPG
    move DSC00165.JPG                                   9cb2048ccc126c52ae2ad16f797b235b.JPG
    move DSC00166.JPG                                   50af180c046bf1b95dbf216d77e578b4.JPG
    move DSC00167.JPG                                   66f6ea679cada47a4695e262b854e96e.JPG
    move DSC00168.JPG                                   b4f79da09baaee6ceba3fa4c31d0d2f7.JPG
    move DSC00169.JPG                                   8f17bf7309d2eb55261876989fb253eb.JPG
    move DSC00170.JPG                                   88d437f7e0f4a3dd50df703aacb10c0c.JPG
    save it as 'renamer.bat' in the directory with the files and run it.


    ?

  3. #3
    Member
    Join Date
    Jan 2006
    Location
    Bristol/Southampton
    Posts
    139
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: randomly rename multiple image files??

    There's a perl script half way down this page that should do the job: http://www.bulkrenameutility.co.uk/f....php?f=2&t=114

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. making files into an image file
    By same old jim in forum Software
    Replies: 1
    Last Post: 19-04-2008, 11:10 PM
  2. Replies: 4
    Last Post: 10-10-2006, 06:20 PM
  3. CHKDSK, Corrupt Files, True Image, Hard Drives... Need Help badly!
    By Speed in forum Help! Quick Relief From Tech Headaches
    Replies: 1
    Last Post: 29-09-2005, 05:27 PM
  4. Image problems in IE (probably CSS related)
    By Dorza in forum Software
    Replies: 4
    Last Post: 08-05-2005, 11:50 PM
  5. How do you backup?
    By Howard in forum PC Hardware and Components
    Replies: 48
    Last Post: 05-01-2005, 09:05 AM

Posting Permissions

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