detecting -addition, deletion or change to files

Discussion in 'Python' started by jeff, Aug 16, 2003.

  1. jeff

    jeff Guest

    Hiya

    I just woundering how would I go about detecting addition, deletion or
    change to files in a folder?

    Ideally id like to look at a linux directory and say watch all its
    contents and then have my script flag up a message when one of these
    events occurs

    not only would it want to watch the directory, but also the
    subdirectorys off of it

    cheers

    greg
    jeff, Aug 16, 2003
    #1
    1. Advertising

  2. jeff wrote:
    > Hiya
    >
    > I just woundering how would I go about detecting addition, deletion or
    > change to files in a folder? [...]


    FAM is designed for this purpose. Here's the Python wrapper for it:

    http://python-fam.sourceforge.net/

    -- Gerhard
    =?ISO-8859-1?Q?Gerhard_H=E4ring?=, Aug 16, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SGFyYWxk?=

    Persistent cache contents after deletion

    =?Utf-8?B?SGFyYWxk?=, Feb 19, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    282
    =?Utf-8?B?SGFyYWxk?=
    Feb 19, 2004
  2. Guest
    Replies:
    5
    Views:
    554
    hinet
    May 2, 2004
  3. Morten Aune Lyrstad

    Detecting object deletion while in a loop

    Morten Aune Lyrstad, Jan 3, 2005, in forum: C++
    Replies:
    7
    Views:
    286
    Morten Aune Lyrstad
    Jan 3, 2005
  4. Flare

    Problem detecting deletion in dataset (in datagrid)

    Flare, Feb 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    95
    Barnabas (Barney) Yohannes
    Feb 23, 2004
  5. FredrikC
    Replies:
    1
    Views:
    77
    Eero Saynatkari
    Jan 22, 2006
Loading...

Share This Page