1HWLOC-COMPRESS-DIR(1)                hwloc               HWLOC-COMPRESS-DIR(1)
2
3
4

NAME

6       hwloc-compress-dir - Compress a directory of XML topologies
7

SYNOPSIS

9       hwloc-compress-dir [options] <inputdir> <outputdir>
10

OPTIONS

12       -R --reverse
13              Uncompress a previously compressed directory.
14
15       -v --verbose
16              Display verbose messages.
17

DESCRIPTION

19       hwloc-compress-dir  takes an input directory containing XML exports and
20       tries to compress it by computing topology diffs between them (with the
21       hwloc-diff  program).   Each  file  is  copied  in the output directory
22       either as a diff if it could be compressed, or as its  original  entire
23       file otherwise.
24
25       hwloc-compress-dir  may recompress a directory that was previously com‐
26       pressed. All input files that are  already  in  the  output  directory,
27       either  compressed  or not, are ignored. New input files are compressed
28       as much as possible as usual.
29
30       For each file of the directory, the output filename is the same as  the
31       original  if  not  compressed,  otherwise  its  extension is changed to
32       .diff.xml.
33
34       Compressed files are based on  another  non-compressed  topology.   Its
35       name is stored in the refname topology diff attribute.
36
37       The  generated output diff files may be used with hwloc-patch just like
38       any file generated by hwloc-diff.
39

EXAMPLES

41       To compress the input files from directory in into directory out:
42
43           $ hwloc-compress-dir in out
44

RETURN VALUE

46       Upon successful execution, hwloc-compress-dir returns 0.
47
48       hwloc-compress-dir will return nonzero if any  kind  of  error  occurs,
49       such as (but not limited to) failure to parse the command line.
50

SEE ALSO

52       hwloc(7), lstopo(1), hwloc-diff(1), hwloc-patch(1)
53
54
55
56
572.0.4                            Jun 03, 2019            HWLOC-COMPRESS-DIR(1)
Impressum