Linux command
abcde 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Rip a CD
abcde
Rip a CD
abcde -o mp3
Rip a CD
abcde -o flac
Rip to multiple formats
abcde -o flac,mp3,ogg
Rip using multiple CPU cores
abcde -j [4]
Rip in non-interactive mode
abcde -N
Rip specific tracks
abcde [1] [3] [5]
Rip from a specific CD device
abcde -d [/dev/sr0]
说明
abcde (A Better CD Encoder) is a shell script that automates the process of ripping audio CDs and encoding them to various compressed formats. It handles the entire workflow from reading the disc to tagging the final files. The tool queries online databases (CDDB, MusicBrainz) to automatically retrieve track names, artist information, and album details. It uses backend programs like cdparanoia for secure ripping and encoders like lame, oggenc, flac, and opusenc for compression. Multiple output formats can be generated in a single pass, and the encoding can be parallelized across multiple CPU cores using the -j option. Configuration is managed through /etc/abcde.conf or ~/.abcde.conf, allowing customization of encoder settings, output paths, and naming conventions.
参数
- -o _format_
- Output format: mp3, ogg, flac, opus, m4a, wav, spx, mpc, mka, wv, ape, mp2, tta, aiff
- -d _device_
- Specify CD device (default: /dev/cdrom)
- -j _n_
- Run n encoding processes simultaneously (for multi-core systems)
- -a _actions_
- Specify actions: cddb, read, normalize, encode, tag, move, replaygain, playlist, clean
- -N
- Non-interactive mode; never prompt for input
- -n
- Skip CDDB lookup; use generic track names
- -1
- Encode entire CD as a single track
- -c _file_
- Use specified configuration file
- -C _discid_
- Use specified CDDB disc ID for lookup
- -p
- Pad track numbers with leading zeros
- -P
- Use Unix pipes for encoding (reduces disk usage)
- -r _host_
- Remote ripping from specified host
- -S _speed_
- Set CD drive read speed
- -t _n_
- Start numbering tracks from n
- -T _n_
- Same as -t but also modifies playlist
- -x
- Eject CD after ripping completes
- -w _comment_
- Add comment to encoded files
- -W _n_
- Set disc number for multi-disc albums
- -k
- Keep wav files after encoding
- -l
- Use low disk space mode
- -V
- Show version information
- -h
- Display help message
FAQ
What is the abcde command used for?
abcde (A Better CD Encoder) is a shell script that automates the process of ripping audio CDs and encoding them to various compressed formats. It handles the entire workflow from reading the disc to tagging the final files. The tool queries online databases (CDDB, MusicBrainz) to automatically retrieve track names, artist information, and album details. It uses backend programs like cdparanoia for secure ripping and encoders like lame, oggenc, flac, and opusenc for compression. Multiple output formats can be generated in a single pass, and the encoding can be parallelized across multiple CPU cores using the -j option. Configuration is managed through /etc/abcde.conf or ~/.abcde.conf, allowing customization of encoder settings, output paths, and naming conventions.
How do I run a basic abcde example?
Run `abcde` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -o _format_ do in abcde?
Output format: mp3, ogg, flac, opus, m4a, wav, spx, mpc, mka, wv, ape, mp2, tta, aiff