[Tutor] mysql store directory information

Tiago Saboga tiagosaboga at terra.com.br
Thu Apr 6 20:08:26 CEST 2006


Hi!

As a first part of a project, I need to store a directory tree in a mysql db. 
I'm wondering if there is a canonical way of doing that. I don't know if it's 
an appropriate question for this list, but I think it's not only a choice of 
db design, but also a choice of appropriate python tools.

My first approach is a table with the following columns:
id - path - file name - size

I'm starting to code it, and I'd like to know if you have a better 
suggestion...

thanks.

Tiago.


More information about the Tutor mailing list