Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

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

Section: 1 (Commandes utilisateur)


gdbmrecent-purge - purge old entries in gdbmrecent databases


     gdbmrecent-purge [options] AGE


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.


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


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


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


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.


Rafael Laboissiere
On passe sa vie à modifier ses définitions du bonheur et du malheur.
-+- Gilbert Cesbron (1913-1979), de petites choses. -+-