LinuxCommandLibrary

zic

Compile timezone data files

TLDR

Compile from directory

$ zic -d [path/to/directory]
copy
Compile with warnings
$ zic -v [path/to/file].infile
copy

SYNOPSIS

zic [OPTIONS] [FILE...]

DESCRIPTION

zic compiles timezone data files into binary format used by the system. It reads text files describing timezone rules and produces the binary files used by localtime and related functions.
This is primarily used for system administration to update timezone data.

PARAMETERS

-d DIRECTORY

Output directory for compiled files
-v
Report warnings during compilation
-L FILE
Leap second file
-y COMMAND
Year type command

CAVEATS

Requires properly formatted timezone source files. Typically run as root. Incorrect data can break time handling system-wide.

SEE ALSO

zdump(8), tzselect(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community