CD-DISCID(1)
π CD-DISCID β bestie's guide to reading CDs and getting that CDDB discid β¨
okay so real talk, this page is from the General Commands Manual family, and it's literally the cutest little backend tool you'll ever meet π«Ά
π NAME π
cd-discid β read a CD and grab the CDDB discid info off it, no cap π
β¨ SYNOPSIS β¨
cd-discid [option...]
πΈ DESCRIPTION πΈ
so here's the situation, bestie: if you wanna do CDDB queries over the Internet, you have to know the DiscID of the CD you're asking about. like, there's no way around it. and that's exactly what cd-discid hands you π
it outputs all of this:
- the discid
- the number of tracks
- the frame offset of all of the tracks
- the total length of the CD in seconds
...all on one single line, space-delimited, clean, iconic, periodt π
fun fact: cd-discid was designed as a backend tool for cdgrab (which is now abcde), but it will work independently of it too. so like, it doesn't need its situationship to function π
π OPTIONS π
--musicbrainzβ outputs a TOC that's suitable for calculating the MusicBrainz disc id. different id system, same slay energy β¨--helpβ shows you a brief help message. short, sweet, helpful π--versionβ shows the version. gotta know what you're working with, fr frdevicenameβ this is the CD-ROM block device name that contains the CD you wanna query. and bestie, if you omit this option, the following device name is just assumed for you:/dev/cdromβ Linux and FreeBSD π§/dev/cd0aβ OpenBSD and NetBSD π¦/dev/vol/aliases/cdrom0β Solaris βοΈ/dev/disk1β MacOS X π/dev/cd0β Hurd π
heads up: those paths above are the defaults β if you don't pass a devicename, that's what gets used, so make sure the right one actually exists on your system before you come for me π
π AUTHOR π
Robert Woodcock <rcw@debian.org>. Updates by Timur Bish <taem@linukz.org> π
and that's the whole page, bestie π«Ά this beauty is dated 2012-09-28 β an absolute icon of the General Commands Manual era, and honestly? it still ate πβ¨
π¦ where this page comes from
- alpine 3.24: cd-discid-doc 1.4-r7 Β· GPL-2.0-or-later OR GPL-1.0-or-later OR Artistic-1.0-Perl
- debian bookworm: cd-discid 1.4-2 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- debian trixie: cd-discid 1.4-2 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- fedora 43: cd-discid 1.4-30.fc43 Β· GPL-2.0-or-later
- fedora 44: cd-discid 1.4-32.fc44 Β· GPL-2.0-or-later
- nixos 26.05: cd-discid 1.4
- nixpkgs unstable: cd-discid 1.4
- opensuse-leap 16.0: cd-discid 1.4-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: cd-discid 1.4-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: cd-discid 1.4-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: cd-discid 1.4-bp160.1.12 Β· GPL-2.0+
- ubuntu jammy: cd-discid 1.4-1build1 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: cd-discid 1.4-2 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: cd-discid 1.4-3 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: cd-discid 1.4-3 Β· GPL-2.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms