# Where can I change a path of output folder of recorded data?

**URL:** <https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508>\
**Category:** support\
**Tags:** amiga, amiga-brain\
**Created:** [March 29, 2025, 8:58pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508 "2025-03-29T20:58:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KODAI](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kodai/32/364_2.png) [@KODAI](https://discourse.farm-ng.com/u/KODAI)\
**Post date:** [March 29, 2025, 8:58pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/1 "2025-03-29T20:58:58Z")

</div>

I am using bran V2 and planning to collect image(plus depth), point cloud, and so on. I would like to record data and store it into external storage connected to the brain since I expect the volume will be large.

I worked on [this example of recorder](https://amiga.farm-ng.com/docs/examples/events_recorder/), and it seems that the data is automatically recorded into mnt/data. I would like to change the output path to the external storage connected to the amiga. Where can I make the change in the code? I have not been able to find it yet in the repo.

Obviously, someone tried and did it in [this post](https://discourse.farm-ng.com/t/mounting-an-hdd-with-open-permissions/393), but how they did it was not mentioned, so I wonder if I could get some help.

Thanks

---

<div class="post-metadata">

**Author:** ![spark\_res](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@spark\_res](https://discourse.farm-ng.com/u/spark_res)\
**Post date:** [March 30, 2025, 10:48pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/2 "2025-03-30T22:48:04Z")

</div>

Hi @KODAI,

Regarding the other post, we ended up leaving the HDD mounting as-is and just ran all of our apps as _sudo_.

When you plug in a HDD it will automatically mount at _/media/adminfarmng/ **hdd\_name** _. So you can edit your script to write there, as long as it has permissions.

One thing to be careful of, is if the HDD isn’t plugged in, you can probably still write to that path but it will be on the internal disk and wiped at reboot. We added a check to make sure that path is linked to a physical device (eg. /sda1 etc), so we weren’t accidentally writing to the internal disk.

I can’t speak for where the write occurs in the recorder example as we were using a standalone custom app.

Thanks,  
Steven

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [March 31, 2025, 6:53pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/3 "2025-03-31T18:53:42Z")

</div>

That would be my advice as well… We currently do no support writing from the recorder directly to an external data because we can’t guarantee that volume is there.

What we do here is to use a workflow to download data over wired connection at the end of every data collection filed day… how large do you expect your files to be?

---

<div class="post-metadata">

**Author:** ![KODAI](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kodai/32/364_2.png) [@KODAI](https://discourse.farm-ng.com/u/KODAI)\
**Post date:** [March 31, 2025, 7:47pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/4 "2025-03-31T19:47:14Z")

</div>

Thank you @spark_res @MScatolin

I would expect easily over 100gb per collection. I plan to use 4 cameras and take rgb, depth, imu at least (I would like to get point cloud too) and plan to get rtk gps data.

When you say custom application, you meant just creating a service subscribing to topics of interest and save data in where I want?

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [March 31, 2025, 9:17pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/5 "2025-03-31T21:17:07Z")

</div>

I would say yes.

Also… the Brain have a 256gb SSD mounted, with 180+ being available for the users.

---

<div class="post-metadata">

**Author:** ![KODAI](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/kodai/32/364_2.png) [@KODAI](https://discourse.farm-ng.com/u/KODAI)\
**Post date:** [March 31, 2025, 11:20pm UTC](https://discourse.farm-ng.com/t/where-can-i-change-a-path-of-output-folder-of-recorded-data/508/6 "2025-03-31T23:20:01Z")

</div>

Ahh nice. I did not check the SSD. Also, thank you for the clarification on the def of the custom application.
