# Get list of local and remote host projects name

**URL:** <https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597>\
**Category:** Python\
**Created:** [March 11, 2021, 9:50am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597 "2021-03-11T09:50:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francesco.Bianco](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Francesco.Bianco](https://forum.logik.tv/u/Francesco.Bianco)\
**Post date:** [March 11, 2021, 9:50am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/1 "2021-03-11T09:50:34Z")

</div>

Hi,  
does anybody know how to get a list of the projects name in the current machine (local) and on other remote host?  
I only found ways to get attributes and value within the current project.  
I would like, in the end… to build some sort of repo/document that shows the list of the projects currently in the various host in order to keep track of the situation and schedule archives.

Thanks.

---

<div class="post-metadata">

**Author:** ![MikeV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/mikev/32/399_2.png) [@MikeV](https://forum.logik.tv/u/MikeV)\
**Post date:** [March 11, 2021, 10:19am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/2 "2021-03-11T10:19:49Z")

</div>

I could be wrong but I don’t think you can get the names of other projects through flame commands. Although you might be able to get what you want by getting a list of directories in /opt/Autodesk/project on each machine.

Mike

---

<div class="post-metadata">

**Author:** ![Francesco.Bianco](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Francesco.Bianco](https://forum.logik.tv/u/Francesco.Bianco)\
**Post date:** [March 11, 2021, 10:33am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/3 "2021-03-11T10:33:40Z")

</div>

I thought of that but i wouldn’t get a clear/correct list.  
My dir /opt/Autodesk/project is full with “old” project.  
This seems to be happening when i open project of a remote host machine. It creates the project dir structure also on the local machine, but when the remote project is archived it does not remove them.  
I manually remove them from time to time, but is not ideal.  
Having a way to get the current list of all the project in the network could be also useful to move the “stuck” project from every machine.  
Something like… if is present in any machine than do nothing… otherwise, change name or move it somewhere before deleting it.

---

<div class="post-metadata">

**Author:** ![kyleobley](https://avatars.discourse-cdn.com/v4/letter/k/df788c/32.png) [@kyleobley](https://forum.logik.tv/u/kyleobley)\
**Post date:** [March 12, 2021, 6:26am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/4 "2021-03-12T06:26:29Z")

</div>

Fairly certain you’ll have to look into the projects.db on each machine. We do this for a similar purpose without any issues.

---

<div class="post-metadata">

**Author:** ![MikeV](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/mikev/32/399_2.png) [@MikeV](https://forum.logik.tv/u/MikeV)\
**Post date:** [March 12, 2021, 6:28am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/5 "2021-03-12T06:28:04Z")

</div>

Ah yea! I totally forgot about that file. That will definitely get you what you need.

---

<div class="post-metadata">

**Author:** ![Francesco.Bianco](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Francesco.Bianco](https://forum.logik.tv/u/Francesco.Bianco)\
**Post date:** [March 12, 2021, 9:28am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/6 "2021-03-12T09:28:07Z")

</div>

Thanks guys, i’ll look into that!

---

<div class="post-metadata">

**Author:** ![andymilkis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andymilkis/32/11067_2.png) [@andymilkis](https://forum.logik.tv/u/andymilkis)\
**Post date:** [March 12, 2021, 3:20pm UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/7 "2021-03-12T15:20:51Z")

</div>

We have an automated archive script that adds a project to the cron job when the user hits Ctrl-S twice while a current project is open. We opted for twice because there is at least one autosave when you first open (or exit) a project.

---

<div class="post-metadata">

**Author:** ![claussteinmassl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/claussteinmassl/32/1922_2.png) [@claussteinmassl](https://forum.logik.tv/u/claussteinmassl)\
**Post date:** [March 13, 2021, 1:38pm UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/8 "2021-03-13T13:38:50Z")

</div>

I’ve written a tool exactly for this purpose a while ago. You can add different machines on your network and it will show you a list of the projects and which machine uses this project.  
It does some more things and also solves the problem of how projects are detected reliably (since the project will be listed once you open it from another host).  
I will try to make it available in the near future.

---

<div class="post-metadata">

**Author:** ![Francesco.Bianco](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@Francesco.Bianco](https://forum.logik.tv/u/Francesco.Bianco)\
**Post date:** [March 15, 2021, 9:20am UTC](https://forum.logik.tv/t/get-list-of-local-and-remote-host-projects-name/2597/9 "2021-03-15T09:20:08Z")

</div>

> [@claussteinmassl](#):
>
> s

Hi Andy, sorry but i didn’t quite understand what you wrote. I’m not familiar with the cron job.  
Thanks claussteinmassl, that would be interesting to have a look at it.
