|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Renamin 1000s of files
Hi,
I have over 7000 jpgs in a folder called 'imgs'. they are all named something like: 2399 (Custom).jpg 1948 (Custom).jpg 1919 (Custom).jpg i want to be able to rename all the images in teh whole folder at once from that to something like: 2399_t.jpg 1948_t.jpg all the images have 4 digits and then the ' (Custom).jpg' Thanks, comp |
|
#2
|
|||
|
|||
|
! backup them before trying this !
Code:
ren "???? *" ????_t.jpg
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
||||
|
||||
|
1. where do I run that command?
2. should it be PHP Code:
|
|
#4
|
|||
|
|||
|
1. in the command shell (yes, windows has that too). Start-run-"cmd". use the usual "c:" and "cd \documents\www" before you type the line.
2. the quotes are only necessary if you have spaces in the file names but it would do the exact same function. |
|
#5
|
||||
|
||||
|
works well, only took a few seconds to do all the files.
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Windows Help > Renamin 1000s of files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|