.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. It does not describe other associated objects, such as the server.
The exported XML file can be used to import the project definition to the Management console.
The .export command can take an optional path and/or file name. The path must be a relative path. It is applied from the step's working directory.
If no file name is provided, the file name is constructed from the current project tag: $BF_TAG.xml.