noob question:traverse directory and populate mysql db

J

jay

Hi,

i was hoping for a little bit of direction on a project i'm starting
that will look to scan a directory structure full of jpgs, and populate
a db table with various meta data (i.e. filename, path, maybe some exif
data if i can do that easily).

it's clear that i'll need find.find(), 'mysql' and a few other nifties.
it's more about how to get the data into the db.

would you loop through the find and create a hash for each file, then a
hash of hashes for all of them, before mapping it into the db?

any comments or pointers gratefully recieved.
thx

jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top