Create a project regeneration script by selecting 
File » 
Project » 
Write Tcl... from the main menu. Tick the 
Copy sources to new project & 
Recreate Block Designs using Tcl options and set the 
Output file to 
/home/steve/projects/leds_buttons/fw/project.tcl.
Review the script paying particular attention to any files listed below the following section of the header. There are no additional files listed for this project.
- # NOTE: In order to use this script for source control purposes, please make sure that the
 
- #       following files are added to the source control system:-
 
 
Prevent the script from creating a project directory by removed this option from the 
create_project command.
steve@Linux-Steve:/home/steve/projects/leds_buttons/fw$ sed -i 's/create_project ${_xil_proj_name_} .\/${_xil_proj_name_}/create_project ${_xil_proj_name_}/g' project.tcl