Name

exportfile — Exports to an external file

Synopsis

exportfile -f filename [env]

Description

exportfile exports the content of a shell environment variable into an external file. The exported object is stored in the supplied filename argument; the environment variable is unaffected by this operation. If no variable name is given, the stdin pipe is used to read data, which is then saved to the file.

exportfile is the reverse operation of importfile.

Example

JXTA>exportfile -f /home/tra/myfile myfile

This command saves the content of the myfile environment variable into the /home/tra/myfile file.

See Also

importfile

Get JXTA 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.