GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
mpck(1) FreeBSD General Commands Manual mpck(1)

mpck — check MPEG audio files

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

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.

-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.

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.

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

Copyright © 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.

The website
https://github.com/Sjord/checkmate

should provide you with latest versions, up-to-date manuals and more!


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.