09-22-2004, 03:53 AM | #1 (permalink) |
Upright
Location: Germany
|
[tool]renaming files?
I got some folders, all of them contain pictures with 001.jpg, 002.jpg etc. at the end. Now I want to put all those pics into one folder, so they have to be continously numbered.
Do you know a tool which features this? |
09-22-2004, 04:55 AM | #3 (permalink) |
strangelove
Location: ...more here than there...
|
^ not a bad suggestion...
...or, for a prog, I recommend Renamer. I've been using this freeware util for a few years, and I love it.
__________________
- + - ° GiRLie GeeK ° - + - ° 01110010011011110110111101110100001000000110110101100101 Therell be days/When Ill stray/I may appear to be/Constantly out of reach/I give in to sin/Because I like to practise what I preach
|
09-22-2004, 10:06 AM | #4 (permalink) |
Junkie
|
I'm very partial to CK Rename:
http://www.musicsucks.com/CKSoft/index.htm Free and very feature rich.
__________________
+++++++++++Boom! |
09-22-2004, 02:37 PM | #5 (permalink) |
Psycho
Location: Firefox yourself and change the world!
|
Tropple thanks for the program link, I too have been looking for a program that is as easy to use as this one. I'd give ya a rep point only if this forum supported things like that.
__________________
I'll make ya famous! |
09-24-2004, 08:26 AM | #6 (permalink) | |
I flopped the nutz...
Location: Stratford, CT
|
Quote:
__________________
Until the 20th century, reality was everything humans could touch, smell, see, and hear. Since the initial publication of the charted electromagnetic spectrum, humans have learned that what they can touch, smell, see, and hear is less than one millionth of reality |
|
09-27-2004, 11:58 PM | #9 (permalink) | |
Mine is an evil laugh
Location: Sydney, Australia
|
Quote:
http://www.google.com.au/search?hl=e...e+Search&meta=
__________________
who hid my keyboard's PANIC button? |
|
09-28-2004, 07:54 AM | #11 (permalink) |
Junkie
|
It would be very simple to script this.
Sometimes a command at the command prompt like "ren *.jpg *_foldername.jpg" will work ... but if it doesn't you can do the following. At a command prompt you can type dir /b > foldername.txt ... this will create a text file with all of the filenames in the folder (the /b switch tells the dir utility to use bare format so you don't get all of the extraneous information for each file). You would do this for each folder. Hopefully you know how to navigate directories (folders) at a command prompt -- if not then you will probably want to use the utilities above. After running dir /b > foldername.txt you will have a text file with something like: 001.jpg 002.jpg 003.jpg in it. You need to use Textpad (http://www.textpad.com/) to build the script to rename each file whatever you want it to be called. Textpad has a nifty feature called "block mode" ... you can use it to copy the first list and paste it next to itself: 001.jpg 001.jpg 002.jpg 002.jpg 003.jpg 003.jpg Then you can prepend text in front of those lists (in block mode): Select the SECOND 00x.jpg column and find/replace .jpg with .jpg ren x:\foldername\ (where x=your drive name) 001.jpg 001.jpg 002.jpg 002.jpg 003.jpg 003.jpg becomes 001.jpg 001.jpg ren x:\foldername\ 002.jpg 002.jpg ren x:\foldername\ 003.jpg 003.jpg ren x:\foldername\ While still in block mode select just the "ren x:\foldername\" column and cut it (not copy). Then place your cursor in front of "001.jpg 001.jpg" and select paste You should now have: ren x:\foldername\001.jpg 001.jpg ren x:\foldername\002.jpg 002.jpg ren x:\foldername\003.jpg 003.jpg again using block mode select the second list or just the second .jpg and use the find/replace utility to replace .jpg with _foldername.jpg (or anything that seperates these files from the other files): ren x:\foldername\001.jpg 001_foldername.jpg ren x:\foldername\002.jpg 002_foldername.jpg ren x:\foldername\003.jpg 003_foldername.jpg Save the file with the .bat extension and then run it. If you do that for each folder you will have unique names for every JPG and they can be copied to a single folder. You can even script the copy process using similar methods. It's not really as complicated as it looks in writing. The whole process should take about 3 minutes for each folder (once you get the hang of it). Of course, you can always use the utilities listed above. D Last edited by vanblah; 09-28-2004 at 08:06 AM.. |
Tags |
files, toolrenaming |
|
|