From: "Will K." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, April 14, 2002 23:21
Subject: Scanning Directory/Inserting Image Links to DB


> Can someone recommend a Perl script/technique that will scan a Unix
> directory of image/text files, and then insert the links into a MySQL
> database?  I used to have a good one, but it got misplaced... Doh!

That's only a bit bigger than a one-liner.  Your best bet is probably to
grab a small script you have that inserts into MySQL, use File::Find or
glob() to provide the file names, and trim off the excess.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to