# Renaming all objects in a node

**URL:** <https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298>\
**Category:** Support\
**Tags:** slicermorph\
**Created:** [April 4, 2024, 10:00pm UTC](https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298 "2024-04-04T22:00:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_Motch\_Perrine](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/s_motch_perrine/32/81028_2.png) [@S\_Motch\_Perrine](https://discourse.slicer.org/u/S_Motch_Perrine)\
**Post date:** [April 4, 2024, 10:00pm UTC](https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298/1 "2024-04-04T22:00:16Z")

</div>

When using ALPACA, the folder names are automatically something like “ALPACA\_output\_01”, with all files within it having a corresponding name. I need my folders to have the specimen names in. How do I make the names of all of the associated files within have a similar naming scheme?  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/5/f5165539bed704b6b8947a378d835566842b0242.png)  
I am especially concerned with making sure that the markups file Final ALPACA landmark estimate\_1 reads instead, “Final ALPACA landmark estimate\_Prdm16\_E17.5\_002” for example. I don’t want to manually change them all the time as there are so many files, etc. Thank you!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [April 5, 2024, 8:33am UTC](https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298/2 "2024-04-05T08:33:01Z")

</div>

@S_Motch_Perrine interactive mode is only for exploring, and all of those things that are nested in the output is to help you visualize different stages of the ALPACA for better alignment and landmark transfer. Once you are done with the exploration, find the set of parameters that work well for your samples and ready to analyze, you should use the batch mode.

In batch mode, the outputs will be saved directly to the disk using the file prefix from the target model.

Please see the alpaca tutorial at [GitHub - SlicerMorph/Tutorials: SlicerMorph module tutorials](https://github.com/SlicerMorph/Tutorials)

---

<div class="post-metadata">

**Author:** ![S\_Motch\_Perrine](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/s_motch_perrine/32/81028_2.png) [@S\_Motch\_Perrine](https://discourse.slicer.org/u/S_Motch_Perrine)\
**Post date:** [April 5, 2024, 2:34pm UTC](https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298/3 "2024-04-05T14:34:32Z")

</div>

Thanks, yes I do normally use batch mode… I have just been testing a ton and was thinking it would be easier for me to go back and compare if I could make everything named after all the specific mice and tissues.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 5, 2024, 2:36pm UTC](https://discourse.slicer.org/t/renaming-all-objects-in-a-node/35298/4 "2024-04-05T14:36:54Z")

</div>

> [@S\_Motch\_Perrine](#):
>
> How do I make the names of all of the associated files within have a similar naming scheme?

You can right-click on the folder, choose `Export to file...` and enable `Export folder structure` option. Then all the models within a subject hierarchy branch will be saved into a separate folder on disk.
