Rechercher une page de manuel

Chercher une autre page de manuel:

gdbmrecent-purge

Langue: en

Version: 2009-04-27 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

gdbmrecent-purge - purge old entries in gdbmrecent databases

SYNOPSIS

     gdbmrecent-purge [options] AGE
 
 

DESCRIPTION

gdbmrecent is an add-on module for the JED editor that records the cursor positions of visited files, as well as some buffer local variables, and remember them later. gdbmrecent-purge allows the maintainance of gdbmrecent databases, e.g. through cron tables. Database entries older than `AGE' are purged.

`AGE' is age-since-last-view in seconds unless appended with `Y' (years), `O' (months), `W' (weeks), `D' (days), `H' (hours) or `M' (minutes), e.g., ``2w'' (2 weeks) or ``19d'' (19 days). The letters are case-insensitive. If `AGE' is zero the database will be cleared! To purge only non-existant files set `AGE'=10000000000 or some other large number.

OPTIONS

`-q --quiet'
Suppress normal output
`-dFILE --database=FILE'
Use `FILE' instead of the default `~/.jed/recent_db' as the gdbmrecent databse. If `FILE' does not exist, it will be created and contains an empty GDBM database.

EXAMPLES

Sample crontab entries for database maintenance:
        # Keep four weeks' worth of data
        02 00  *  *  *  /usr/bin/gdbmrecent-purge 4w
 
        # Keep four weeks' worth of data and shut your mouth
        02 00  *  *  *  /usr/bin/gdbmrecent-purge 4w -q
 
        # Purge only non-existant files
        02 00  *  *  *  /usr/bin/gdbmrecent-purge 0x7fffffff
 
        # Reset database every Monday
        02 00  *  *  1  /usr/bin/gdbmrecent-purge 0
 
        # Don't do anything
        02 00  *  *  *  /usr/bin/gdbmrecent-purge -1
 
 

SEE ALSO

``jed (1)'', ``crontab (5)''

CREDITS

This script was inspired on the jedstate command, which is now obsolete in Debian. Parts of this man page are copied verbatim from the man page of jedstate.

AUTHOR

Rafael Laboissiere
Philippe Bruhat,
fallait qu'il brûlât !
Et pour qui brûlas-
tu, et toujours brûles ?
Ne prends garde aux brutes
que bien loin tu boutes,
repousse les doutes...
Que de pensées douces
pour deux coeurs doucis !
Oublie tes soucis
et ne te soucie
que d'Estelle Souche.

Estelle Souche,
ne te soucie
pas des soucis
des gens soumis
ni des roumis !
Dans le roulis
où tu roulas
et te boulas,
rien qui boulât.
Qu'elle brulât
pour BooK Bruhat !

-- Graner, Nicolas