REXPORT(1)

NAME
rexport - retrying export command using PMake and customs

SYNOPSIS
rexport [-same] [-uselocal] [-exclusive] [-attr value ...] [-debug] [-J numjobs] command [args ... ]]
rexport -f [options ...] [ command-file ...]

DESCRIPTION

Rexport works similar to export(1) but is implemented as a wrapper around pmake(1) to manage jobs exportation. This provides three main advantages:

+   If no hosts are immediately available, rexport keeps trying indefinitely until killed.

+   Jobs are automatically restarted after evictions.

+   More than one job can be started in parallel, with a limit of the total number of jobs running in parallel.

The -same, -uselocal, -exclusive and -attr options limit the set of hosts eligible for command execution, and are interpreted as by export(1). The following additional options are understood:

-J n
    Try to run up to n commands in parallel (the default is 1).

-f  Interpret command line arguments as files containing commands to be run (one command per line). The contents of all files are concatenated to construct the final command list.
    As a special case, if no arguments are specified after options, rexport will read commands, one-per-line, from the standard input, until EOF. At that point, these command will be dispatched to server hosts subject to the criteria and parallelism limit specified.

-debug
    Do not start any commands. Instead, print the makefile created for pmake(1) to stdout.

SEE ALSO
customs(8), export(8), pmake(1).

AUTHOR
Andreas Stolcke (stolcke@icsi.berkeley.edu).