Linux command
cabextract 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Extract cabinet file
cabextract [file.cab]
List contents without extracting
cabextract -l [file.cab]
Extract to specific directory
cabextract -d [output_dir] [file.cab]
Test archive integrity
cabextract -t [file.cab]
Extract with filter pattern
cabextract -F "*.dll" [file.cab]
Extract with lowercase filenames
cabextract -L [file.cab]
Extract from embedded cabinet in exe
cabextract [setup.exe]
说明
cabextract extracts files from Microsoft cabinet (.cab) archives. It can also extract cabinets embedded in other files like executables. Supports all Microsoft cabinet formats and Windows CE installation files.
参数
- -l, --list
- List contents without extracting
- -t, --test
- Test integrity, show MD5 checksums
- -d _directory_, --directory=_directory_
- Extract to specified directory
- -F _pattern_, --filter=_pattern_
- Extract only files matching shell pattern
- -f, --fix
- Attempt to salvage corrupted archives
- -L, --lowercase
- Convert filenames to lowercase
- -p, --pipe
- Pipe extracted files to stdout
- -s, --single
- Don't follow multi-part cabinet links
- -q, --quiet
- Suppress normal output
- -v, --version
- Show version
FAQ
What is the cabextract command used for?
cabextract extracts files from Microsoft cabinet (.cab) archives. It can also extract cabinets embedded in other files like executables. Supports all Microsoft cabinet formats and Windows CE installation files.
How do I run a basic cabextract example?
Run `cabextract [file.cab]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -l, --list do in cabextract?
List contents without extracting