Skip to main content
Participant
January 21, 2011
Question

Script to find files

  • January 21, 2011
  • 1 reply
  • 1793 views

I have a folder that contains 4 subfolders and in total 2500 jpg's

In this folder I would like to find 800 filenames that I have in an excel sheet.

Example of a filename is: 678211_103.jpg and all filenames are unique.

Is there a way to do this automatically?

I hope somebody can help...

Thanks!

This topic has been closed for replies.

1 reply

Muppet_Mark-QAl63s
Inspiring
January 21, 2011

You should be able to use 'save as' from Excel and output your spread sheet to either CSV or TDT text file. Script could use that to read in your names and find them. What are you wanting to do with each when/if it's found…?

Participant
January 22, 2011

OK. I know how to save the excel file as a CSV, but is there a script available already?

I don't have any experience making my own scripts...

When I find the files I want to save them as a smaller .jpg (for example 500px width instead of 2200px).

Could be a batch or a script, I haven't worked this out.

Thanks for trying to help me out!

Muppet_Mark-QAl63s
Inspiring
January 22, 2011

I would do this with script in Photoshop as a batch. Still read your CSV to find the files then open resize and save each. I doubt you will find a 'ready made' solution but it's not a overly complex thing to do… So you will get help…