Log in

View Full Version : JPG ripper.


Woodmann
November 1st, 2006, 23:11
Howdy,

I have been searching for the last few hours for something to help me rip all the JPG images on my hard drive.

I want to put them into a seperate folder.

I have not been succesful in finding such a tool.
I can use the windows search feature BUT, I have 68000 images
and when I do a "select all" and then "right click" to send them,
this lame rig locks up.

Hook a brother up with something.

Woodmann

LLXX
November 1st, 2006, 23:59
Code:
cd \
for /f "usebackq" %a in (`dir *.jpg /s /b`) do copy "%a" destination_path_goes_here
Expect this command to take a bit of time to execute

disavowed
November 2nd, 2006, 00:40
Even more simple:
cd \
for /r %a in (*.jpg) do copy "%a" destination_path_goes_here

JMI
November 2nd, 2006, 08:26
68000 images is alot of porn !!

Regards,

CluelessNoob
November 2nd, 2006, 08:58
Quote:
[Originally Posted by JMI]68000 images is alot of porn !!


Not really.




I meant YEAH, that IS a lot of porn.

Woodmann
November 2nd, 2006, 21:35
Uhhhhhhhhhhh.....

I said JPG not MPG.

Besides my porn is AVI, you bastards

Woodmann

Woodmann
November 2nd, 2006, 23:00
OK,

Both command line inputs work equally well.
My next problem,

Because I am trying to strip jpgs from multiple databases I have on my hard drive, I have a problem.

Most people, when they recharge the batteries for the digital camera,
start the "name/numbering" sequence for new photos back to default.

For example, when searching for the file containing 1010014, I have in excess of 160 images that contain that name.

Is there a way to rename these "on the fly" ?

Thanks a ton ya'll,

Woodmann

esther
November 2nd, 2006, 23:43
Did you tried any file manager like total commander?

Woodmann
November 3rd, 2006, 00:46
I shall try this.

Woodmann

disavowed
November 3rd, 2006, 01:11
Quote:
[Originally Posted by Woodmann]Is there a way to rename these "on the fly" ?

Quote:
[Originally Posted by esther]Did you tried any file manager like total commander?

Bah! No need to download extra tools. You can do this natively! Just paste this into a command prompt:

Code:

cmd /vn
cd \
set counter = 0
for /r %a in (*.jpg) do (copy "%a" "destination_path_goes_here\!counter!.jpg"
set /a counter += 1)

Woodmann
November 3rd, 2006, 01:19
Disa,

You are now on the hook for this

I will try it.

Woodmann

Woodmann
November 3rd, 2006, 22:39
Good call disa BUT,

I neglected to take into account that it would keep on reading my "saved images" file in an endless loop
It just keeps reading my destination folder and writing the same images over and over again but renaming them.

(I thought something was wrong after 4 hours)

I shall make the needed changes.

Thanks

Woodmann

disavowed
November 4th, 2006, 01:38
Bah... I assumed this was going to a different drive.

If you need help making the changes, let me know.

SiGiNT
November 4th, 2006, 17:02
There is a commercial app. called B*tch-!t - that will do this for you,uh.... I can help with the uh... you know

SiGiNT

You need to guess the letters.

JMI
November 4th, 2006, 17:08
I Know! I know! I guessed them. Do I get a prize? Huh, Do I, Do I???

There's even a "free download."

Regards,

SiGiNT
November 4th, 2006, 22:32
Yeah,

As soon as I get my reward - how good is your memory??????

SiGiNT

Woodmann
November 5th, 2006, 00:15
Howdy,

Will it really do what I want ?

I gave it a very quick try and it balked at identical file names.

Thank you all for your suggestions. I have found a solution.

Woodmann

SiGiNT
November 5th, 2006, 02:20
Good deal!

I archived this one, a while back and took a quick look today, looked like it should do the trick, but, I really didn't take a real close look, but I will give it a try, since I have a similar situation on this end - sometime in the future I may want to quiz you on exactly what you did,

SiGiNT