# Export/Import project using command lines

**URL:** <https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186>\
**Category:** Ignition\
**Created:** [January 19, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186 "2022-01-19T20:02:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fleclerc](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/fleclerc/32/20480_2.png) [@fleclerc](https://forum.inductiveautomation.com/u/fleclerc)\
**Post date:** [January 19, 2022, 8:02pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/1 "2022-01-19T20:02:32Z")

</div>

I am looking for a way to **export or import a project** using some command lines. [I found nothing on the Gateway Utility](https://docs.inductiveautomation.com/display/DOC81/Gateway+Command-line+Utility+-+gwcmd).

The only export I see is creating backup `.gwbk`. An alternative could be to “extract” projects from a .gwbk file, but I dont think it is possible?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 19, 2022, 9:13pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/2 "2022-01-19T21:13:51Z")

</div>

In 8.x you can simply unzip a project export into the correct location in the data folder.

In 7.x I don’t think there’s any solution for you.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 20, 2022, 4:04pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/3 "2022-01-20T16:04:05Z")

</div>

> [@fleclerc](#):
>
> An alternative could be to “extract” projects from a .gwbk file, but I dont think it is possible?

Also, .gwbk files are just renamed .zip files. Any tool that can read a zip file can read a .gwbk, and 8.X projects are plain files directly inside the zip; should be relatively trivial to script an extraction job.

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [July 20, 2023, 3:01pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/4 "2023-07-20T15:01:49Z")

</div>

Once you've unzipped a project export in the data folder, do you still have to wait for the Gateway sync/scan time to pick up your changes? I think the current default is 300 seconds.

Is there anyway to force it to re-scan immediately?

Thanks.  
-Shane

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 20, 2023, 3:04pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/5 "2023-07-20T15:04:40Z")

</div>

8.1.28 added `system.project.scan()`

---

<div class="post-metadata">

**Author:** ![ShaneH](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@ShaneH](https://forum.inductiveautomation.com/u/ShaneH)\
**Post date:** [July 20, 2023, 3:11pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/6 "2023-07-20T15:11:10Z")

</div>

> [@Kevin.Herron](#):
>
> system.project.scan()

Assuming you meant:

[https://docs.inductiveautomation.com/display/DOC81/system.project.requestScan](https://docs.inductiveautomation.com/display/DOC81/system.project.requestScan)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 20, 2023, 3:12pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/7 "2023-07-20T15:12:40Z")

</div>

Oops, yes, I was reading from the original description in the issue tracker, didn't notice it got changed to `requestScan`.

---

<div class="post-metadata">

**Author:** ![fleclerc](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/fleclerc/32/20480_2.png) [@fleclerc](https://forum.inductiveautomation.com/u/fleclerc)\
**Post date:** [July 20, 2023, 6:33pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/8 "2023-07-20T18:33:36Z")

</div>

Can it be called from a third party application? (version control system / ~GIT)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 20, 2023, 6:36pm UTC](https://forum.inductiveautomation.com/t/export-import-project-using-command-lines/55186/9 "2023-07-20T18:36:55Z")

</div>

No, not directly. You could set up a WebDev endpoint or something and do it that way, though.
