notify when space on a device is less then n Megabytes

Eon Works | Scripts | Demo | About | Links

img
script: lowspace (download)
purpose: notify when space on a device is less then n Megabytes
requires: standard GNU commands, xmessage
version: 1.5
usage: lowspace [-hlx] -i <n> -d <device> -t <n>s|m|h|d
options:
 

    -i <n>, an integer referring to Mb

    -d <device>, full path to the device eg: /dev/hda1

    -t <n>s|m|h|d, n is an integer referring to time interval in

       seconds|minutes|hours|days which refers to the frequency of how

       often to check for low space on the device

    -x, use xmessage to display a windowed notification if running X

    -h, usage and options (this help)

    -l, see this script"