Name

nidump

Synopsis

nidump [-T timeout] (-r directory|format) [-t] domain

Dumps NetInfo information in a flat-file format (such as the /etc/hosts format) or in a raw format that uses a C-like syntax:

{
  "name" = ( "localhost" );
  "ip_address" = ( "127.0.0.1" );
  "serves" = ( "./local" );
}

Options

-T timeout

Specify a timeout in seconds.

-t

Treat the domain as a tagged domain, which includes a machine name and a tagged NetInfo database. For example, abbot/local refers to the local NetInfo domain of the machine named abbot.

-r directory

Dump the directory in raw format. Directory should be a path to a NetInfo directory, such as /users/root or /machines.

format

Specify a format corresponding to a Unix flat file of the same name. Can be: aliases, bootptab, bootparams, ethers, exports, fstab, group, hosts, networks, passwd, printcap, protocols, resolv.conf, rpc, services, or mountmaps.

domain

Specify a NetInfo domain. For standalone machines, use a dot (.), which refers to the local domain.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.