★ wanayoo — archive 1999 http://bebits.bebits.com/app/263Nouvelle recherche | Portail wanayoo
BeBits Store BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
We don't like 'em either, but they pay the bills...
Storage Kit Utilities
version 2.0
e-mail publisher
home page
screenshots
version history
user reviews
other reviews
send updates for this application
discuss this application at BeNews
Post a comment
 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: 682 total; 2 recently
 Page Views: 850 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) 493 downloads
 
 
  Working Link Download Primary download location
 
 
PowerPC Version - requires R3   (55 KB) 189 downloads
 
 
  Working Link Download Primary download location
 
  Source Included

  • 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.

  • Want to write a review of this application?
    Write a user review! Click here to write a review that will be posted on BeBits for the world to see.
 
BinkJet $20.00
  Recent Downloads  -  # 1,276
Total Downloads  -  # 1,061
Total Views  -  # 1,658
User Ratings  -  N/A
  Class Libraries
Shell Utilities
1.  Napster for Be... - 9.00
2.  BeShare - 8.96
3.  BeVICE - 8.93
4.  OpenTracker - 8.91
5.  BWeather - 8.91
6.  Moe - 8.90
7.  ProcessControl... - 8.89
8.  BeXL - 8.88
9.  Scooby - 8.82
10.  T-RackS™ - 8.80
1.  Unified NVidi... - 1,956
2.  DivX Decoder - 1,245
3.  BePhotoMagic - 800
4.  Moe - 709
5.  BePDF - 702
6.  BurnIT NOW! - 634
7.  DVD Player - 633
8.  CMI8330 ISA Dri... - 597
9.  CL-Amp - 584
10.  AbiWord - 571
You are not logged in.
 Login or create an account...
Listen to BeOSRADIO!
Powered by GeekTek

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