BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Please support our sponsors!
Storage Kit Utilities
version 2.0
contact publisher
home page
screenshots
version history
other reviews
send updates for this application
talkback
0 comments
 Published by Stephen van Egmond
   Click here for more information about this publisher...
 Date Posted:   August 12th, 1999
 Last Updated:   August 12th, 1999
 License: Other Open Source License
 Downloads: 1,097 total; 2 recently
 Page Views: 7,186 total
 User Rating: awaiting 10 votes Give this application a rating
 Jump to the Downloads section
About Storage Kit Utilities:
This class library makes working with the storage kit easier. Included are classes to capture the Attributes and the Node Monitoring system in a set of C++ classes. Documentation & source included.

Class Attribute models a BeOS file system attribute for your application. A new one can be written, an existing one can be opened, and the presence of one can be tested for. The Attribute exists in memory as long as the class Attribute exists.



Class NodeMonitor will watch a file system node for you, and will deliver notifications when a particular file system event happens. You can be informed of attribute changes, directory changes, renames, size/date changes, and so on.



Class DirectoryMonitor is a specialization of NodeMonitor to include directory watching.



Class PathMonitor will simply watch the path of a given file system node, no matter where it gets moved to, and will deliver notifications when a file is renamed or popped into a different directory.



Included are two sample programs: one, the stupid one, will just watch your Trashcan and NetPositive's settings file, and emit notifications when one or the other's properties or contents changes. The second, smart one, is for use in scripting. It can execute any shell script you are to name or describe when a file system event goes off.
Latest Version
   
Details about this version:
This version adds the scripting application "watcher".
watcher's usage is like so:
Usage:
watcher [-m<command>] [-c<command>] [-a<command>] [-d<command>]
[-d] <file>
or
watcher [-m<command>] [-c<command>] [-a<command>] [-d<command>]
[-n<command>] [-r<command>] [-d] <directory>

Where:
file is a path to a file or symbolic link to watch
directory is a path to a directory to watch

Options:
-v Be verbose.
-1 Exit after triggering on one event.
Default: trigger forever.

For directories, symlinks, and files:
-m<command> Call command when node moves.
\%1=old path
\%2=new path

-c<command> Call command when node's size/date changes.
\%1=path

-a<command> Call command when node's attribute changes.
\%1=path
\%2=attribute

-d<command> Call command when file has been deleted.
No further triggers will occur.
\%1=path


For directories only:

-n<command> Call command when new node arrives in directory.
\%1=directory path
\%2=new file name

-r<command> Call command when a node is removed from directory.
Deleted file name is unavailable!
\%1=directory path

 
Intel Version - requires R4.5   (55 KB) 788 downloads
 
 
Dev LinkLink reliability rating  [rating: 10]    Download this app  Report bad link Primary download location
 
Add Additional Location
 
PowerPC Version - requires R3   (55 KB) 309 downloads
 
 
Dev LinkLink reliability rating  [rating: 10]    Download this app  Report bad link Primary download location
 
Add Additional Location
  Source Included
 
Post your own comment to the Talkback for this application!
Report a problem with the listing for this application!
Like this app? Have questions or comments?
Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
 
BeGroovy
  Recent Downloads  -  # 481
Total Downloads  -  # 1,807
Total Views  -  # 2,270
User Ratings  -  N/A
  Class Libraries
Shell Utilities
1.  QEMU - 9.62
2.  ScummVM - 9.50
3.  cpu_fix - 9.42
4.  Jukebox - 9.40
5.  Haiku AGP busm... - 9.35
6.  vim6 - 9.31
7.  Beezer - 9.25
8.  BeeF - 9.25
9.  HandBrake - 9.24
10.  DOSBox - 9.22
1.  Realtek RTL8139... - 331
2.  Ati Radeon Grap... - 249
3.  BeOS 5 Personal... - 239
4.  ATI Rage 128 Pr... - 150
5.  Broadcom 440x 1... - 114
6.  Ensoniq AudioPC... - 105
7.  USB Serial driver - 99
8.  USB Joystick Dri... - 75
9.  VLC Media Player - 73
10.  DjVu Viewer - 68
You are not logged in.
 Login or create an account...
Hosted by NetConnect

 
Unless otherwise noted, everything is copyright © 1999-2008 BeBits. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.