Results 1 to 1 of 1

Thread: notification of updated/created files

  1. #1
    Join Date
    Sep 2010
    Beans
    3

    notification of updated/created files

    Hi guys,

    I'm trying to figure out a way to run a script when files are modified/updated in my /var/www/ directory.

    I am running a server at RackSpace with Ubuntu 11.10 with inotify using incrontab, but I can't figure out a way to recursively search the folder tree.

    My goals is to be notified when any chance are made within that directory or its subdirectories so that I can check the file permissions and update them as necessary.

    But, it seems like icrontab only works on a structured folder approach rather then recursively going though folders. This is a problem when new directories are created since i will not get a notification.

    Any ideas?
    Last edited by mooreaa; December 21st, 2011 at 03:37 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •