ras_project_copy
Copy a HEC-RAS project folder to a new location before editing or running, keeping the original intact. Preserves relative references; optionally include result files.
Instructions
Copy a whole HEC-RAS project folder to a new folder (all .prj/.g##/.p##/.u##/.f##/terrain/DSS files, relative references stay valid). Use it BEFORE editing or running so the original model is never modified. Results HDFs and logs are excluded unless include_results=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | Destination folder (created; e.g. runs/<case>/00_model). | |
| project | Yes | Source project folder or .prj file. | |
| overwrite | No | Replace the destination if it exists (default false). | |
| include_results | No | Also copy existing .p##.hdf results and logs (default false). |