Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Excerpt
hiddentrue

JWAT-Tools documentation.

Section
Column

During the development of the JWAT library it

...

was useful to be able to test the

...

validation easily with varying input data.

...

This is how and why JWAT-Tools was created.

Options

The following options are currently available in JWAT-Tools.

Code Block
titleCommandline options
borderStylesolid
C:\Java\workspace\jwat-tools>jwattools.bat
JWATTools v0.5.1
usage: JWATTools [-dte19] [file ...]
 -t   test validity of ARC, WARC and/or GZip file(s)
 -e   show errors
 -d   decompress
 -r   recursive
 -1   compress faster
 -9   compress better
 -i   interval extract
 -u   unpack multifile gzip
 -c   convert arc to warc

You can supply one or more files. Each file can contain * and/or ? wildcards, but only in the filename part of the path. You can use more wildcards at the same time if you want.

-t (test)

Reads and validates all the files supplied. Files which are not recognized as either GZip, ARC or WARC are skipped. If wildcards are used, files that do not match are also skipped.

Use -e for more than a summary of errors.

-d (decompress)

Decompress one or more (multi-part) GZip files and write the decompressed data to a new file, one for each input file.
Useful for decompressing ARC and/or WARC files.

-r (recursive)

Is currently ignored. All operations are currently recursive.

-1..-9 (compress)

Compress normal and/or WARC files.

-i (interval extract)

Extract an interval from a given file. Interval can be expressed as offset, offset2 or offset,+length. Offset and length can be expressed in hex by pre-pending "$" or "0x".

-u (unpack)

Unpack a (multi-file)GZip and save each entry as individual files.

-c (convert)

Convert ARC files to WARC.

Child pages (Children Display)
depth3
styleh3
excerpttrue

Column
width300px
Panel

Mercurial source repository
Issue tracker
Downloads

Panel
titleNews
Blog Posts
contenttitles
Panel
titleUpdates
Recent updates
max5
themesidebar