.export [path_name][file_name]
The .export command saves a copy of the current project to the current working directory in XML format. The XML file describes the project, current build, and steps. The data can be imported into a Management Console to recreate the project.
The command can take an optional path and/or filename. If no filename is supplied, a filename is constructed from the current tag, in the form $BF_TAG.xml. You can include a path relative to the step's working directory; if it is omitted, the file is placed in the step's working directory.