Thread
:
How to read folder content file names and export it to mysql
View Single Post
#
3
(
permalink
)
06-02-08, 08:45 PM
wirehopper
-
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
This is another option - you might be able to create a CSV listing of your files.
Something like (syntax is rough):
ls avi_dir | sed "s/\r/\,/" > outfile
Then use the LOAD DATA MySQL command
http://dev.mysql.com/doc/refman/5.0/en/load-data.html
wirehopper
View Public Profile
Find all posts by wirehopper