ndexr – index a directory and output a json file of its contents

New python project at https://sourceforge.net/projects/ndexr/

Currently it indexes a directory specified in interactive mode or by a config file, and writes a json file cataloging the directory’s contents. You can also specify the output file and the files types to index.

It is made to be easy to extend with your own scripts… ie: if you want to recursively index a directory tree you can. If you want to index files on a server and send them once a week to some other server you can. If you want to use it to let clients search a directory without actually having access to it, you certainly can (you’ll have to supply apache or some other web server obviously).

I’ll probably extend it to automatically handle recursive indexing, and optional indexing of directories (as of right now it indexes files only, because that’s what I needed it to do today :)

It’s simple, not much code, and its only job will stay in the domain of indexing files and spitting out json. Check it out if you think it’s useful to you.

This entry was posted in Uncategorized. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>