list-files - List files in hak / mod / erf
list-files [--help|-h] [--version|-V] [--verbose|-v]
[--config config-file]
[--output|-o outputfilename]
[--matched|-m match-regexp]
[--remove-matched|-M remove-matched-regexp]
[--filename|-f]
[--decode|-d]
[filename ...]
list-files --help
list-files takes mod, hak, erf, or pwc and lists files inside it.
If given zip file, searches the contents of the zip and prints all
files inside mods, haks, erfs or pwcs inside the zip.
- --help -h
-
Prints out the usage information.
- --version -V
-
Prints out the version information.
- --verbose -v
-
Enables the verbose prints. This option can be given multiple times,
and each time it enables more verbose prints.
- --config config-file
-
All options given by the command line can also be given in the
configuration file. This option is used to read another configuration
file in addition to the default configuration file.
- --output|-o outputfilename
-
Stores the list of files to the file named outputfilename.
- --matched|-m match-regexp
-
If this is given, then only print lines which match given regexp
(unless they also match the --remove-matched regexp).
- --remove-matched|-m remove-matched-regexp
-
If this is given, do not print lines which match the given regexp (not
even if they also match the --matched regexp).
- --filename|-f
-
Adds name of the file from where the file is to the beginning of line.
- --decode|-d
-
Does some basic decoding of the names for armors. This will result tab
separated output, where the output columns are: 1) type ``p'' or ``a'', 2)
race as number or plain string if unknown race, 3) gender as number,
4) material as number or as string if unknown (missing from if type is
``a'') 5) body part, 6) variation.
-
The decoding is one after matching the filenames to be printed.
list-files foo.erf
list-files -f cerea109o.mod
list-files -o output.txt cerea2.zip
list-files -o output.txt -M '\.(mdb|tga)$' file.hak
list-files -o output.txt -d -M '\.(mdb|tga)$' file.hak
- ~/.listfilesrc
-
Default configuration file.
erfpack(1), erfunpack(1), Erf(3), and ErfWrite(3).
Tero Kivinen <kivinen@iki.fi>.
This program was created for Carter / Tyrnis (requested by Drakolight)
to list contents of the hak for plugin use.