Directory Size Limiter: Keep your disk from filling up with Webcam or Security Camera Pictures.
Lunar and Planetary Webcam User's Guide
Lunar and Planetary Webcam User's Guide
Guide to Webcams (Paperback)
Guide to Webcams (Paperback)


Directory Size Limiter: Keep your disk from filling up with Webcam and Security Camera Pictures.

Please read this notice first.
This information is provided for educational purposes only.
This software is provided for educational purposes only.
You take all the responsibility for your use of this information.
There is no warranty, no support, no assurances.
There are errors in this information.
There are errors in this software.
If you hurt yourself and/or others, it's your fault.
If you destroy your equipment or invalidate the warranties, it's your fault.

This disclaimer brought to you by one of the best justice systems on Earth.
This web page copyright © 2003 Squak Mountain Consulting, Inc.


Directory Size Limiter - Screenshot

Overview of the problem:
You're running a webcam or security cam with basic software.
The cam stores lots of pictures on your disk.
The disk fills up with pictures.

How this program helps:
This program deletes files in a directory, keeping it below a maximum size that you choose.
It only deletes files with the type (extension) that you choose. (.jpg, for instance).
It deletes the oldest files first.

This code delete files as a basic function.
Please take appropriate care when testing and implementing.

Here's a blow-by-blow list of what the program does:
1. Collects a directory-size limit from the user.
2. When the limit is exceeded, 
   Files in the directory are deleted from oldest to newest, 
3. Avoids deleting itself
4. Stores settings in an XML format .INI file
5. Displays status in the UI status box
6. Debug mode displays most calls in the UI status box

Install:
Copy the .exe into directory to be monitored.
The directory must have at least one file of the type you want to delete in it.
Run the .exe
Select your desired maximum directory size
Select your desired file type to be deleted
Enable Deletion with "Actions" / "Start Deleting" (the "current state" box will turn RED)
Save settings
This program is not publically available right now. Please contact us if you would like to use this program.