Project_restore, Usage, Options – Altera Quartus II Scripting User Manual

Page 356: Description, Example, Project_restore –226

Advertising
background image

3–226

Chapter 3: Tcl Packages & Commands

project

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

project_restore

Usage

project_restore [-destination <directory>] [-overwrite] [-update_included_file_info]
<archive_file>

Options

-destination <directory>: Directory where restored files are placed

-overwrite: Option to overwrite files in destination directory

-update_included_file_info: Option to update included file information

<archive_file>: Archive file name

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

Advertising