DragonFly On-Line Manual Pages

Search: Section:  


mpck(1)                DragonFly General Commands Manual               mpck(1)

NAME

mpck -- check MPEG audio files

SYNOPSIS

mpck [ options ] [ file ... ] mpck [ -h | -V ]

DESCRIPTION

mpck checks mp3s. It scans the file to see if the frames are where they are supposed to be, if the frame headers are correct and if the headers are consistent throughout the file. It gives some statistics on the file, and a conclusion whether the file is good or bad.

OPTIONS

-B --badonly Print statistics only for bad files. -e --extention=EXT Scan only files ending in .EXT -h --help Display a help screen and quit. -m --maxname=NUM Report bad for a file which has more than num characters in its filename. -n --namecheck Check for strange characters in a filename. This reports bad for a file with a filename consisting of characters other than [A- Za-z0-9 ._-]. -q --quiet Print only good or bad for each file. -r Short for -R -e mp3 -R --recursive Treat each directory recursively, checking all files in the directory. Normal operation is to ignore directories. -v --verbose Be verbose. -V --version Print version and copyright information and exit.

EXIT STATUS

mpck returns one of these values: 0 Everything went OK and no broken files were found. 1 Everything went OK, but at least one broken file was found. 2 (ENOENT) File or directory not found, stat failed. 4 (EINTR) The program received a SIGINT. 5 (EIO) Read error. 12 (ENOMEM) Malloc failed due to memory shortage. 21 (EISDIR) The given file is a directory. 22 (EINVAL) Invalid argument, no filename supplied. 36 (ENAMETOOLONG) File extention or file name is too long.

AUTHOR

Written by Sjoerd Langkemper <sjoerd-checkmate@linuxonly.nl>

COPYRIGHT

Copyright (C) 2006 Sjoerd Langkemper. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

The website http://checkmate.linuxonly.nl/ should provide you with latest versions, up-to-date manuals and more! mpck(1)

Search: Section: