Thanks Jon... Jeff Knight suggested the same package. This project
doesn't allow pear. So, I made Jeff write the scripts. I will release
the code on CXD's website sometime in the future.
Thanks,
Hans
Jon Baer wrote:
There is a cool package I used once before in Pear called File_Find
which has a mapper for this ... it may work for your needs ...
http://pear.php.net/manual/en/package.filesystem.file-find.maptreemultiple.php
- Jon
On Jan 16, 2007, at 1:56 PM, Hans C. Kaspersetz wrote:
Does anyone know of a handy script that will recurse over a directory
structure and will grab all the filenames and the paths and store
them in a MySQL table? Preferably creating two or more columns in
the db? I need to sort through a 150K or so files. The directory
structure can be 10 or more directories deep. File names and
directory names can have spaces and all sorts of wierd characters
like '^'
Hans K
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php