Project_restore, Usage, Options – Altera Quartus II Scripting User Manual
Page 356: Description, Example, Project_restore –226

3–226
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
project_restore
Usage
project_restore [-destination
Options
-destination
-overwrite: Option to overwrite files in destination directory
-update_included_file_info: Option to update included file information
Description
Restores a Quartus II Archive File (.qar) that contains the project and its related files.
By default, the archive is restored into the current directory. Use the "-destination" option to restore the
files into a new directory.
By default, the command fails if the archive already contains files in the destination directory. Use the
"-overwrite" option to overwrite any existing files in the destination directory.
Example
## Restore archive and expand files into current directory
project_restore chiptrip.qar
## or
project_restore chiptrip.qar -destination
## Restore archive. Expand files into current directory,
## but overwrite any existing files in "."
project_restore chiptrip.qar -destination . -overwrite
## Restore project into a "restored" subdirectory
project_restore chiptrip.qar -destination "restored" -overwrite