Wednesday, September 26, 2007

r39 database like access to pictures

r39 | ozzloy | 2007-09-12 15:47:23 -0700 (Wed, 12 Sep 2007) | 3 lines

now i can generate a list of complete paths to pictures, saved in a single
variable

i now have a single function that does all the directory traversals. this function takes place of the other find*.m functions. this makes the perl functions obsolete. still, it was fun to learn perl. it acts kinda like a query-able database from the file system. i'm sure there are better ways of doing this, but right now it's a bunch of nested for-loops that iterate over the different possible paths. if no path is specified, it will search for valid paths under the current working directory and make that the new list to iterate over.

No comments: