1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to rename files

Discussion in 'General Chat' started by jnf, Jan 19, 2010.

  1. #1
    how to rename files in series like 1 2 3 4 5 6 7 8 9 10 11 12 13 ............................
    not as 1(1) 1(2) 1(3) 1(4)...................

    i have thousands od pic i want to rename them all as 1 2 3 4 5 6 7 8 9 10 11 12 13 ............................
     
    jnf, Jan 19, 2010 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Perhaps you can put them in a folder, loop through them and rename using PHP.
     
    ads2help, Jan 19, 2010 IP
  3. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sorry not work
     
    jnf, Jan 19, 2010 IP
  4. purpleorange

    purpleorange Active Member

    Messages:
    141
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Could you please explain the scenario ?

    i would like to know if the files are being created in a ny process or they are already present there?
     
    purpleorange, Jan 19, 2010 IP
  5. Sid_who

    Sid_who Active Member

    Messages:
    596
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    85
    #5
    Renaming of files can be done easily with C programming. Check out the hire a coder section or better try your luck searching Big G.
     
    Sid_who, Jan 19, 2010 IP
  6. duckz

    duckz Active Member

    Messages:
    245
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    68
    #6
    or if you are using linux, try bash script ....
     
    duckz, Jan 19, 2010 IP
  7. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i have 3000 images in my pc at d drive in a folder with random name i want them all image named as 1 2 3 4 5 6 .............................3000???
     
    jnf, Jan 19, 2010 IP
  8. JMel

    JMel Peon

    Messages:
    337
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #8
    At times I have also wondered about the possibility of doing this. Is there any software that can quickly do this, or is it a matter of programming? I'm honestly surprised Windows 7 doesn't have something like this built in.
     
    JMel, Jan 19, 2010 IP
  9. ana14

    ana14 Guest

    Messages:
    154
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i dont understand so put in the folder all..one by one you make
     
    ana14, Jan 19, 2010 IP
  10. dollarofakshay

    dollarofakshay Peon

    Messages:
    305
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    No, I don't think so. Sorry :)
     
    dollarofakshay, Jan 19, 2010 IP
  11. duckz

    duckz Active Member

    Messages:
    245
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    68
    #11

    if you are using linux :

    for z in *.jpg ; do $i = $i + 1 | mv "$z" `echo $i`.jpg

    or something similar in bash
     
    duckz, Jan 19, 2010 IP
  12. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #12
    Kerosene, Jan 20, 2010 IP
  13. plannep

    plannep Greenhorn

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #13
    Try with IrfanView...i done it along time ago, i think it's still possible.. :)
     
    plannep, Jan 20, 2010 IP