OS4 DepotLogo by Alessandro Bacchia 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Shell » waitnotify.lha


Description: Wait for a file or directory modification
Download: waitnotify.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 25kb
Version: 1.2
Date: 22 Jul 2009
Author: Tobias Ferber, AmigaOS4 version by submitter
Submitter: Alexandre Balaban
Email: alexandre/balaban fr
Homepage: http://www.balaban.fr
Category: utility/shell
Replaces: utility/shell/waitnotify.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 4977
Comments: 3
Snapshots: 0
Videos: 0
Downloads: 361  (Current version)
444  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
WaitNotify                                                         WaitNotify

 WaitNotify -- Wait for a file or directory modification


 WaitNotify posts a notification request on the given files
 or directories.  The command will not return until at least
 one of them has been modified.  For files, it will return
 after the file is closed.

 The optional format string will be printed when the file or
 directory changes.  The first "%s" in it will be replaced by
 the name.

 NAME          - name of the files or directories which you want
   to observe
 QUIET         - suppresses warnings and error messages (but sets
   the return value to allow later diagnostis
 FORMAT        - string to print on exit.

 ;Wait for a change in our startup-sequence
 WaitNotify S:Startup-Sequence

 ;Wait for a change in either startup script and report its name
 WaitNotify S:Startup-Sequence S:User-Startup FMT="%s*N"

 ;Show the first file which changes via More
 More `WaitNotify S:Startup-Sequence S:User-Startup FMT=%s`

 Not all filesystems will support file notification. In particular,
 most network filesystems won't support it.

    - v1.2 : fixed memory leak on command line argument (Xenic)

 This file is part of the WaitNotify distribution.

 WaitNotify is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published
 by the Free Software Foundation; either version 1 of the License,
 or (at your option) any later version.

 WaitNotify is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 See the GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with the program; see the file COPYING.  If not, write to
 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

 WaitNotify is Copyright (C)1994 by Tobias Ferber.
 You can reach me via E-mail: ukjg()rz.uni-karlsruhe.de
 AmigaOS4 version by Alexandre Balaban, contact me for any AmigaOS4
 specific issue via E-Mail: alexandre#balaban.fr (replace # by ())

Copyright © 2004-2024 by Björn Hagström All Rights Reserved