# Placing media content in subdirectories

**URL:** https://discourse.getcockpit.com/t/placing-media-content-in-subdirectories/636
**Category:** Uncategorized
**Created:** [March 4, 2019, 4:45am UTC](https://discourse.getcockpit.com/t/placing-media-content-in-subdirectories/636 "2019-03-04T04:45:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![simons](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@simons](https://discourse.getcockpit.com/u/simons)
#### Post date: [March 4, 2019, 4:45am UTC](https://discourse.getcockpit.com/t/placing-media-content-in-subdirectories/636/1 "2019-03-04T04:45:19Z")

</div>

Hello guys,

just a quick question: is it possible to place media content under the same storage but in different sub-directories based on a parameter in the “submitting form”? Lets say that this parameter is a textbox named “slug”.

By entering “apple” the media file will be placed into /path-to-storage/media/apple/file.mp4 while by entering “orange” it will be placed into /path-to-storage/media/orange/file.mp4.

Thanks,  
S
