Index File Script

Index File Script
I want to write a php or shell script, so that I can index all files and put the info in mysql db.

1. your script should let me define where is the starting point e.g. /home/user/docs/files
2. your script will index all files staring from the starting point (including all files under sub folders or symbolic links)
3. put the info into mysql e.g. file location:/home/user/docs/files/disk1/1.avi your script should put /files/disk1/1.avi into mysql.

Leave a Reply

Your email address will not be published. Required fields are marked *