Recent

Author Topic: Play with locate clone and invitation for corrections  (Read 3116 times)

JimBeam

  • New Member
  • *
  • Posts: 36
Play with locate clone and invitation for corrections
« on: September 21, 2010, 04:21:44 pm »
Hi all,

I've been learning FreePascal by writing a version of the Unix locate program that indexes all files on a computer (or path), stores it in a (Firebird) database and prints it.
As of now, it also sees mp3 ids and exif data for jpgs/photos.
In future, it should be able to create multiple indexes, compare file hashes, support searches, grow a GUI, support exporting/importing etc.

I have a working initial version for Windows x86, but my Windows x64 version seems to have issues with the Firebird connectivity (see http://mantis.freepascal.org/view.php?id=17360).
I've tried to compile the code on Linux but decided to focus first on Windows x86 in order to get something working.

The code itself can be found at:
http://bitbucket.org/jb/flocate/
You can download source code together with a binary for Windows x86 at:
http://bitbucket.org/jb/flocate/downloads

Any suggestions for improvement of the code are welcome, especially the database code.

Thanks!
jb

 

TinyPortal © 2005-2018