To list all files in the voice segment cache with full details including expiry time, file size, and creation time:
dtjcache -action listDetails -cache audio
To expire everything in all caches after confirmation:
dtjcache -action expire -cache all
To expire everything in all caches without prompting for confirmation:
dtjcache -action expire -cache all -force
To expire any resource older than an hour old from the VoiceXML cache and delete them from the system without displaying any confirmation or warning dialogs:
dtjcache -action expire -cache vxml -age 60 -force -delete vxml
To expire any resource from any cache older than the specified date of Thursday 11th October 2012 at 10:49:13 hours, British Standard Time:
dtjcache -action expire -olderThan "Thu Oct 11 10:49:13 BST 2012"
To read a file named file.txt, treating each line as something that should be expired in the VoiceXML cache:
dtjcache -action expire -cache vxml -batchFile file.txt
To expire a specified CCXML document (/var/dirTalk/DTBE/invoked.ccxml) in the CCXML cache:
dtjcache -action expire -cache ccxml file:///var/dirTalk/DTBE/invoked.ccxml