The dcachedel program

dcachedel - dcachedel - delete records from a cache file.

SYNOPSIS

dcachedel [OPTIONS] CACHE KEY

DESCRIPTION

dcachedel by default deletes the first record found by a search for KEY in CACHE.

OPTIONS

-a, --all
Delete all records with the same key. The default is to delete the first record found.
-n, --record-number=NUMBER
Delete the n'th record with the key.
-N, --no-sync
Do not fsync cache to disk. The default is to call fsync, which waits until the data has been written to disk. This is costly but safe. Using this option allows the operating system to schedule the writting to a later time, thus making it impossible to detect any error due to, for example, a bad hard disk. The use of this option is not recommended unless speed is more important than correctness. Note that fsync costs about 5 to 10 percent of a second.
-T, --transaction
Delete entries in one transaction. The default is to do one operation after each other. With this option all changes will be done at once, ensuring that the cache either contains the old or the new state. Note: this costs memory and disk-space.
--see-also
Where to find related information.
--examples
Usage examples.
--version
Show version: dcachedel (dcache) 0.6.1-beta2.
--help
Show a list of options or the long help on one. The use with an argument shows the long help text of that option, without an argument it will list all options.
--longhelp
Show longer help texts for all or one option.

EXAMPLES

dcachedel cache 'funny key'

  deletes the first record with the key 'funny key'.

dcachedel -T -a cache 'funny'

  removes all traces of 'funny' in one transaction.

COPYRIGHT

Copyright (C) 2003,2004,2005 Uwe Ohse.

The software comes with NO WARRANTY, to the extent permitted by law.

This package is published under the terms of the GNU General Public License version 2. Later versions of the GPL may or may not apply, see http://www.ohse.de/uwe/licenses/

AUTHOR

Uwe Ohse, <uwe@ohse.de>.

MORE INFORMATION

Please report bugs to <dcache@lists.ohse.de>

SEE ALSO

dcacheadd(1) adds data to a dcache. dcachelist(1) lists the content of a dcache. dcache_intro(7) is the introduction to dcache.

The dcache homepage is at http://www.ohse.de/uwe/dcache.html