+VERSION | +V | Print program name, version and the defaults and exit. |
+HELP | +H | Print help and exit. If the first non option is a valid command name, then a help for the given command is printed. |
+PACK | +P | Pack sources into WDF or CISO images. This is the general default. |
+UNPACK | +U | Unpack WDF, WIA and CISO images.
This is the default command, when the program name starts with the two letters |
+CAT | +C | Concatenate files and print on the standard output. WDF, WIA and CISO files are extracted before printing, all other files are copied byte by byte.
This is the default command, when the program name contains the sub string |
+DIFF | +CMP | Compare files and unpack WDF, WIA and CISO while comparing. The standard is to compare two source files. If --dest or --DEST is set, than all source files are compared against files in the destination path with equal names. If the second source file is missed, then standard input (stdin) is used instead.
This is the default command, when the program name contains the sub string |
+DUMP | +D | Dump the data structure of WDF, WIA, CISO and GCZ images and ignore other files.
This is the default command, when the program contains the sub string |
If no command is entered, the tools looks for its tool name (filename used for its call) to deceide its functionality. The list ist processed in this order:
The default file format is also determinded by analysing the file name:
You can use softlinks and hardlinks to eneable the alternate file names.
The installer set the hardlinks
File Name | Default Functionality |
---|---|
PACK the source and create a |
|
PACK the source and create a |
|
UNPACK the source. The |
|
wdf-cat |
CAT the source. The |
wdf-dump |
DUMP the source. The |
PACK the source and create a |
Options | |||
---|---|---|---|
Option | Param | Description | |
--align-wdf | [align][,minhole] | Parameter
The optional parameter |
|
--auto-split | Enable auto split modus: Split only if necessary and determine the split size automatically. THIS OPTION IS EXPERIMENTAL. In future versions it becomes the default. |
||
--block-size | size | If a mismatch is found in raw or disc mode then the comparison is continued with the next block. This option sets the block size. The default value is |
|
--chunk | Print table with chunk header too. | ||
--chunk-mode | mode | Defines an operation mode for --chunk-size and --max-chunks. Allowed keywords are
|
|
--chunk-size | sz | Define the minimal chunk size if creating a CISO or WIA file (for WIA details see option --compression}). The default is to calculate the chunk size from the input file size and find a good value by using a minimal value of 1 MiB for »--chunk-mode ISO« and
The parameter 'sz' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). The default unit is 'M' (MiB). If the number is prefixed with a
If the input file size is not known (e.g. reading from pipe), its size is assumed as
|
|
-C | --ciso | Force CISO output mode if packing and set the default suffix to
This is the default, when the program name contains the sub string |
|
--color | [=modus] | Define the modus for colored text output. Allowed keywords are:
If a command is prefixed by |
|
--256-colors | Short cut for --color=256-colors: Force colorized text with 256 color support. | ||
--compression | mode | Select one compression method, level and chunk size for new WIA files. The syntax for mode is:
All three parts are optional. All default values may be changed in the future. |
|
-d | --dest | path | Define a destination path (directory/file). |
-D | --DEST | path | Like --dest, but create the directory path automatically. |
--dsync | [=mode] | This option enables the usage of flag O_DSYNC when opening a partition at a hard drive for writing. With activated flag, writing an image is some percent slower, but the progress counters are exact again. Parameter MODE is optional. If set, it is one of OFF (disable), ON (enable) or AUTO (default). With AUTO, DSYNC is enabled if the progress counters are active. This option has only impact, if compiler and operation system support the flag O_DSYNC. Linux does. |
|
--file-limit | size | This option is only used if comparing discs on file level. If not set or set to null, then all files will be compared. If set to a value greater than comparison is aborted for the current source image if the entered number of files differ. This option is ignored in quiet mode. | |
-h | --help | Stop parsing the command line, print a help message and exit. | |
--io | flags | Setup the IO mode for experiments. The standard file IO is based on open() function. The value '1' defines that WBFS IO is based on fopen() function. The value '2' defines the same for ISO files and value '4' for WIA files. You can combine the values by adding them. | |
-k | --keep | Keep (don't delete) input files during (un-)packing. | |
--limit | num | Limit the output to NUM messages. | |
-L | --logging | This debug option enables the logging of internal memory maps. If set twice second level memory maps are printed too. | |
-l | --long | Print (un)pack statistics, 1 line for each source. In dump mode: Print table with chunk header too (same as --chunk). | |
--max-chunks | n | Define the maximal number of chunks if creating a CISO file. The default value is 8192 for »--chunk-mode ISO« and 32760 (maximal value) for all other modes. If this value is set than the automatic calculation of --chunk-size will be modified too.
|
|
--mem | size | This option defines a memory usage limit for compressing files (in MiB if no other unit is entered). When compressing a file with method
If this option is not set or the value is 0, then the environment |
|
-1 | --minus-1 | If set the end address is the last address of a range. The standard is to print the first address that is not part of the address of a range. | |
--no-colors | Short cut for --color=off: Deactivate colorized text. This is the default, if an output file is not a terminal. | ||
--no-split | Disable output file splitting. This is the default, but in future versions, the new option --auto-split becomes the default. | ||
-o | --overwrite | Overwrite already existing files without warning. | |
--prealloc | [=mode] | This option enables or disables the disc space preallocation. If enabled the tools try to allocate disc space for the new files before writing the data. This reduces the fragmentation but also disables the sparse effect for preallocated areas.
The optional parameter decides the preallocation mode:
Mode |
|
-p | --preserve | Preserve file times (atime+mtime) while copying an image. This option is enabled by default if an unmodified disc image is copied. | |
-q | --quiet | Be quiet and print only error messages. | |
-z | --split | Enable output file splitting. The default split size is 4 GB. | |
-Z | --split-size | sz | Enable output file splitting and define a split size. The parameter 'sz' is a floating point number followed by an optional unit factor (one of 'cb' [=1] or 'kmgtpe' [base=1000] or 'KMGTPE' [base=1024]). The default unit is 'G' (GiB). |
-c | --stdout | Write to standard output (stdout) and keep (don't delete) input files. This is the default, when the program is reading from standard input (stdin). |
|
-s | --suffix | .suf | Use suffix |
-t | --test | Run in test mode, modify nothing. >>> USE THIS OPTION IF UNSURE! <<< |
|
-v | --verbose | Be verbose -> print program name. | |
-V | --version | Stop parsing the command line, print a version info and exit. | |
--wbi | Force CISO output mode if packing and set the default suffix to
This is the default, when the program name contains the sub string |
||
-W | --wdf | [=param] | Force WDF output mode if packing and set the default suffix to |
--wdf1 | [=param] | Force WDF v1 output mode, if packing. Set the default suffix to |
|
--wdf2 | [=param] | Force WDF v2 output mode, if packing. Set the default suffix to |
|
--wia | [=compr] | Force WIA output mode if packing and set the default suffix to
WIA output is the default, when the program name contains the sub string |
|
--width | width | Define the width (number of columns) for help and some other messages and disable the automatic detection of the terminal width. | |
--xhelp | Stop parsing the command line and print a help message with all commands included. Exit after printing. |