The dcachedel program

dcachedel - dcachedel - delete records from a cache file.




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


-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.
Where to find related information.
Usage examples.
Show version: dcachedel (dcache) 0.6.1-beta2.
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.
Show longer help texts for all or one option.


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 (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


Uwe Ohse, <>.


Please report bugs to <>


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