Linux Commands Examples

A great documentation place for Linux commands

toc2cue

converts a TOC files of cdrdao(1) into a .cue file


see also : cdrdao

Synopsis

toc2cue [-v verbosity_level] input_toc_file output_cue_file

toc2cue [-V]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
toc2cue "$basename.toc" "$basename.cue"
else
echo >&2 "Error: $basename.cue does not exist"
0
source
            
if [ $(which toc2cue | wc -l) -ne 0 ]; then
echo "toc2cue found!"
toc2cue=true
echo "toc2cue not found!"
fi
if [ $(which mkisofs | wc -l) -ne 0 ]; then
0
source
            
if [ $(which toc2cue | wc -l) -ne 0 ]; then
echo "toc2cue found!"
toc2cue=true
echo "toc2cue not found!"
fi
if [ $(which mkisofs | wc -l) -ne 0 ]; then
0
source
            
if [ $(which toc2cue | wc -l) -ne 0 ]; then
echo "toc2cue found!"
toc2cue=true
echo "toc2cue not found!"
fi
if [ $(which mkisofs | wc -l) -ne 0 ]; then

description

toc2cue converts a TOC file of cdrdao(1) into a .cue file.

Please note that the resulting cue file is only valid if the toc-file was created with cdrdao(1) using the commands ’read-toc’ or ’read-cd’. For manually created or edited toc-files the cue file may not be correct. This program just checks for the most obvious toc-file features that cannot be converted to a cue file. Furthermore, if the toc-file contains audio tracks the byte order of the image file will be wrong. This will result in static noise when the cue file is used for recording (even with cdrdao(1) itself).

options

-v verbosity_level

Sets the verbosity level to use, can be a integer between 1 and 3. By default, only fatal errors are displayed. A verbosity level of 1 shows warnings, 2 warnings and errors, 3 warnings, errors and internal errors.

-V

Prints the version of toc2cue.


see also

cdrdao


author

toc2cue was written by Andreas Mueller <andreas[:at:]daneb[:dot:]de> and is part of cdrdao(1).

This manual page was written by Francois Wendling <frwendling[:at:]free[:dot:]fr> and revised by Daniel Baumann <daniel[:at:]debian[:dot:]org>, for the Debian project (but may be used by others).

How can this site be more helpful to YOU ?


give  feedback