# Change location for files to upload

**URL:** <https://discourse.libretime.org/t/change-location-for-files-to-upload/1238>\
**Category:** Uncategorized\
**Created:** [June 4, 2022, 11:11pm UTC](https://discourse.libretime.org/t/change-location-for-files-to-upload/1238 "2022-06-04T23:11:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghostdog](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/ghostdog/32/619_2.png) [@ghostdog](https://discourse.libretime.org/u/ghostdog)\
**Post date:** [June 4, 2022, 11:11pm UTC](https://discourse.libretime.org/t/change-location-for-files-to-upload/1238/1 "2022-06-04T23:11:21Z")

</div>

Hi there at the install i could choose a location to upload and store the music. Now i put in a new hd and want to store the files there on the new hd…  
Where do i change the path?  
I do not see it in the config file…

Thank you!

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [June 5, 2022, 6:51pm UTC](https://discourse.libretime.org/t/change-location-for-files-to-upload/1238/2 "2022-06-05T18:51:06Z")

</div>

Hey,

The configuration is currently stored in the DB. The future release of LibreTime should move this configuration to the config file.

If you want to change this anyway, you can change the first entry in the `cc_music_dirs` table:

```sql
UPDATE public.cc_music_dirs
	SET directory='/mnt/libretime/data/'
	WHERE id=1;

```

Be sure that your path has a trailing slash !

Cheers

---

<div class="post-metadata">

**Author:** ![ghostdog](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/ghostdog/32/619_2.png) [@ghostdog](https://discourse.libretime.org/u/ghostdog)\
**Post date:** [June 9, 2022, 11:05am UTC](https://discourse.libretime.org/t/change-location-for-files-to-upload/1238/3 "2022-06-09T11:05:38Z")

</div>

Thank you!  
That helped me out!
