cdcatalog - Fastly retrieve files on CDs an drives
Usage: cdcatalog [-a] [-l] [-s PATTERN] [-c FILE] [-k FILE]
-a STRING , --add=STRING: add a CD with title STRING to the list (STRING is prompted if empty) -r STRING , --remove=STRING: remove CD whose name is STRING -l , --list: list all recorded CDs -s PATTERN, --search=PATTERN:search files matching PATTERN on every recorded CD. PATTERN is a perl regexp. -c FILE, --config=FILE: use FILE as config file (useless for now). -k FILE, --catalog=FILE: use FILE as catalog. -d DIR, --drive=DIR: use DIR as cdrom path (defaults:/cdrom,/mnt/cdrom) -i, --insensitive: case insensitive
CDcatalog is a useful program wich enable you to easily retrieve some files from your CDs. For instance, if you can't remember where is your latest source tarball of emacs in all your data CDs, just type cdcatalog -s emacs will print all matching files and the corresponding CDs. You can execute three different actions:
The -a switch enable you to add a CD. Usage: cdcatalog -a ``CD no 5'' adds your CD to your default catalog. If no name is provided, asks for a name.
By default, CDCatalog lists all recorded CDs of the database.
Use the -s switch. For instance, use cdcatalog -s emacs to search for all files whose name contains emacs. Use -i for a insensitive case search instead of -s. Instead of emacs, you can use ^emacs for files beginning with emacs. It's a Perl Regular Expression.
GNU General Public License. This is a free software. See LICENSE for more details.
Matthieu Lemerre racin@free.fr
-Yves Mettier for his GTKtalog program (original idea) and wonderful articles in LinuxMagasine France.