Name
cab
Synopsis
Creates Microsoft CAB archives. On Windows platforms, you must
include the Microsoft cabarc tool on the path.
On non-Windows platforms, you can use
libcabinet. Information on this library can be found at http://www.freshports.org/archivers/libcabinet/. The library can be downloaded from the mirror site ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/.
Attributes
-
basedir(all, File, Y) The directory from which to archive files.
-
cabfile(all, File, Y) The name of the CAB file to create.
-
compress(all, boolean, N) If
true, compress files. Defaults totrue.-
defaultexcludes(all, boolean, N) Determines whether to use default excludes. Defaults to
true.-
excludes(all, String, N) A comma-separated list of file patterns to exclude.
-
excludesfile(all, File, N) The name of a file containing one exclude pattern per line.
-
includes(all, String, N) A comma-separated list of file patterns to include.
-
includesfile(all, File, N) The name of a file containing one include pattern per line.
-
options(all, String, N) Specifies additional command-line arguments for the underlying
cabarccommand.-
verbose(all, boolean, N) If
true, the task instructs thecabarccommand to operate in verbose mode. Defaults tofalse.
Content
- 0..n nested
patternsetelements:<exclude>,<include>,<patternset>(all);<excludesfile>,<includesfile>(1.4) Used in place of their corresponding attributes, these specify the set of included and excluded source files.
- 0..n nested
<fileset>elements (all) filesetelements specifying ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access