Yo,
This seems to be the right place for this rather annoying problem. I have done this neat application in Perl with Tk where one can index your harddrive(s) and then search within this information. Everything is saved either in a mySQL or a SQLite database. Now, I was hoping I could find some neat multiple OS solution to monitor the filesystem for adding files/folders within Perl. As it is now, you can go trough the database and check with hd for changes (so, if removed, then its deleted from database). Adding/Updating is annoying (but mostly timeconsuming), because the script just goes recurivly from where you want, and thus the user have to update once and a while him/herself. This is rather stupid since mostly it's just a few files/folders added/deleted. I wanted some solution where the script can run in background and somehow be noticefied when a user adds/deletes a file/folder ANYWHERE. Natrually, I can use some kind of monitor where one can set WHERE to monitor, but it would be more neat to be noticefied by OS or something simulair. (Or, if one could check some table for new entries?) I wanted some more closer-to-harddrive solution, where one (in Linux for instance), could get latest inodes, or be noticefied when a change accur.
Anyone got some bright ideas?
Thanks,
Ace
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.