1CABEXTRACT(1) General Commands Manual CABEXTRACT(1)
2
3
4
6 cabextract - program to extract files from Microsoft cabinet (.cab) ar‐
7 chives
8
10 cabextract [-ddir] [-f] [-Fpattern] [-eencoding] [-h] [-l] [-L] [-p]
11 [-q] [-s] [-t] [-v] cabinet files ...
12
14 cabextract is a program that un-archives files in the Microsoft cabinet
15 file format (.cab) or any binary file which contains an embedded cabi‐
16 net file (frequently found in .exe files).
17
18 cabextract will extract all files from all cabinet files specified on
19 the command line.
20
21 To extract a multi-part cabinet consisting of several files, only the
22 first cabinet file needs to be given as an argument to cabextract as it
23 will automatically look for the remaining files. To prevent cabextract
24 from extracting cabinet files you did not specify, use the -s option.
25
27 A summary of options is included below.
28
29 -d dir Extracts all files into the directory dir.
30
31 -f Corrupted cabinet files will be 'fixed' to salvage whatever is
32 possible from them. File entries with bad folders or names will
33 be skipped rather than rejecting the entire cabinet file.
34 Impossible file lengths will be truncated to extract as much as
35 possible, including when you're missing later files in a cabinet
36 set. Corrupted MSZIP blocks and failed block checksums will be
37 ignored. Warnings will be printed if any of these conditions
38 are met.
39
40 -F pattern
41 Only files with names that match the shell pattern pattern shall
42 be listed, tested or extracted. On non-GNU systems, this match
43 may be case-sensitive.
44
45 -e encoding
46 Specify the character encoding of filenames inside the cabinet
47 files. This is only needed if you find cabinet files with gar‐
48 bled filenames; most software creates CAB files with either
49 ASCII or UTF8 filenames. The list of supported encodings is
50 given by the command "iconv -l".
51
52 -h Prints a page of help and exits.
53
54 -l Lists the contents of the given cabinet files, rather than
55 extracting them.
56
57 -L When extracting cabinet files, makes each extracted file's name
58 lowercase.
59
60 -p Files shall be extracted to standard output.
61
62 -q When extracting cabinet files, suppresses all messages except
63 errors and warnings.
64
65 -s When testing, listing or extracting cabinets which span multiple
66 files, only cabinet files given on the command line shall be
67 used.
68
69 -t Tests the integrity of the cabinet. Files are decompressed, but
70 not written to disk or standard output. If the file successfully
71 decompresses, the MD5 checksum of the file is printed.
72
73 -v If given alone on the command line, prints the version of cabex‐
74 tract and exits. Given with a list of cabinet files, it will
75 list the contents of the cabinet files.
76
78 This manual page was written by Stuart Caie <kyzer@cabextract.org.uk>,
79 based on the one written by Eric Sharkey <sharkey@debian.org>, for the
80 Debian GNU/Linux system.
81
82
83
84 March 7, 2018 CABEXTRACT(1)