- First, add a new disk to the catalog:
~$ dic add
mounting cdrom to /cdrom
Reading disk...
Done.
Please enter a name for this disk: []
potato extension 1
Please enter the category of this disk: [none]
linux
umounting cdrom
~$
- Let's see, if it is really added:
~$ dic list
Name Category Status
====================-============-============
potato extension 1 linux
~$
- Now search for filenames containing the string 'apt':
~$ dic search apt
Name
==============================================
potato extension 1/debian/debian-kde/contrib/binary-i386/utils/kcmlaptop_0.82-4.0_i386.deb
potato extension 1/debian/debian-updates/binary-i386/console-apt_0.7.7.2potato2_i386.deb
potato extension 1/debian.apt.list
~$
- Get some files
~$ dic get 'potato extension 1/debian.apt.list'
Please insert the disk labeled 'potato extension 1' into the device 'cdrom' and press Enter.
copying /cdrom/debian.apt.list to current directory.
~$
Of course, these are only a few, very basic examples. Dic can do much more (for example search and get in one step). For the complete set of commands and more examples,see the