Name

importfile — Imports an external file

Synopsis

importfile -f filename [env]

Description

importfile imports an external file into a structured document object stored in an environment variable. The name of the environment variable is specified as an argument.

importfile is the reverse operation of exportfile.

Example

JXTA>importfile -f /home/tra/myfile myfile
JXTA>cat myfile

This command imports the /home/tra/myfile file into the myfile environment variable and prints it out.

See Also

exportfile

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.