-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmpck.1
107 lines (107 loc) · 2.16 KB
/
mpck.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
.TH mpck 1
.SH NAME
mpck \(em check MPEG audio files
.SH SYNOPSIS
.ll +8
.B mpck
.RB [
options
]
[
.I "file \&..."
]
.ll -8
.br
.B mpck
.RB [ " \-h | \-V " ]
.SH DESCRIPTION
.I 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.
.SH OPTIONS
.TP
.B \-B --badonly
Print statistics only for bad files.
.TP
.B \-e --extention=EXT
Scan only files ending in
.B .EXT
.TP
.B \-h --help
Display a help screen and quit.
.TP
.B \-m --maxname=NUM
Report bad for a file which has more than num characters in its filename.
.TP
.B \-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 ._-].
.TP
.B \-q --quiet
Print only
.B good
or
.B bad
for each file.
.TP
.B \-r
Short for -R -e mp3
.TP
.B \-R --recursive
Treat each directory recursively, checking all files in the directory. Normal
operation is to ignore directories.
.TP
.B \-v --verbose
Be verbose.
.TP
.B \-V --version
Print version and copyright information and exit.
.SH EXIT STATUS
.TP
mpck returns one of these values:
.TP
.B 0
Everything went OK and no broken files were found.
.TP
.B 1
Everything went OK, but at least one broken file was found.
.TP
.B 2 (ENOENT)
File or directory not found, stat failed.
.TP
.B 4 (EINTR)
The program received a SIGINT.
.TP
.B 5 (EIO)
Read error.
.TP
.B 12 (ENOMEM)
Malloc failed due to memory shortage.
.TP
.B 21 (EISDIR)
The given file is a directory.
.TP
.B 22 (EINVAL)
Invalid argument, no filename supplied.
.TP
.B 36 (ENAMETOOLONG)
File extention or file name is too long.
.SH AUTHOR
.TP
Written by Sjoerd Langkemper <[email protected]>
.SH COPYRIGHT
.PP
Copyright \(co 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.
.SH SEE ALSO
.PP
The website
.IP
https://github.com/Sjord/checkmate
.PP
should provide you with latest versions, up-to-date manuals and more!