NYCPHP Meetup

NYPHP.org

[nycphp-talk] File Names and Paths Script

Hans C. Kaspersetz hans at cyberxdesigns.com
Tue Jan 16 13:56:09 EST 2007


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



More information about the talk mailing list