SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

fileschanged.

(from the info manual)

The fileschanged utility is a FAM (File Alteration Monitor) client. From the command-line it monitors sets of files and shows you when they change. You can use fileschanged in shell scripts to take action when monitored files become altered. In it's simplest form, you can give fileschanged filenames to monitor from stdin, and it will report when those files have changed via stdout. You can stop fileschanged from monitoring files by pressing CTRL-C. In a more complex usage, fileschanged can monitor command-line specified files recursively, while following symbolic links, while staying on the current filesystem, and reporting deleted files as well as created and changed files that haven't been written to for 2 seconds. This software is protected by the GNU General Public License, so users are free to share and change it.

notes to my future self on how to build packages:

to build a debian package:

        make sure you have cdbs, devscripts installed.
        make dist
        cp fileschanged-{version}.tar.gz /tmp
        cd /tmp
        tar -zxvf fileschanged-{version}
        cd into the top level source directory.
        debuild

to build a redhat package:

        make sure you have rpmbuild installed.
        make dist
        mkdir ~/play/rpmbuild/SOURCES/fileschanged-{version}
        cp fileschanged-{version}.tar.gz ~/play/rpmbuild/SOURCES/fileschanged-{version}
        tar -zxvf fileschanged-{version}
        cd into the top level source directory
        ./configure
        rpmbuild -ba --sign redhat/fileschanged.spec


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.