NYCPHP Meetup

[nycphp-talk] File Names and Paths Script

Jon Baer jonbaer at jonbaer.com
Tue Jan 16 14:20:45 EST 2007


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




More information about the talk mailing list