# Putting Daily Notes in a folder

**URL:** <https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210>\
**Category:** Troubleshooting\
**Created:** [May 28, 2020, 8:21pm UTC](https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210 "2020-05-28T20:21:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbaty](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jbaty/32/10_2.png) [@jbaty](https://org-roam.discourse.group/u/jbaty)\
**Post date:** [May 28, 2020, 8:21pm UTC](https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210/1 "2020-05-28T20:21:53Z")

</div>

I’ve been playing with [Obsidian](https://obsidian.md/) for kicks and one thing I found useful was the ability to configure the creation of Daily Notes within a specific folder. I know, “file names don’t matter”, but sometimes they do, and the daily notes Org documents are piling up and can feel in the way on those occasions when I’m just scrolling around looking for a topic document via Dropbox or some other app. I’d love to have them tucked away into their own folder somehow.

So, `(setq org-roam-dailies-folder "daily-notes/")` or something similar would be helpful to me.

---

<div class="post-metadata">

**Author:** ![jethro](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@jethro](https://org-roam.discourse.group/u/jethro)\
**Post date:** [May 29, 2020, 7:26am UTC](https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210/2 "2020-05-29T07:26:58Z")

</div>

You can set the `org-roam-dailies-capture-templates`, the same way you would modify `org-roam-capture-templates`. So in your case, you could do something like:

```auto
(setq org-roam-dailies-capture-templates '(("d" "daily" plain (function org-roam-capture--get-point) ""
                                            :immediate-finish t
                                            :file-name "dailies/%<%Y-%m-%d>"
                                            :head "#+TITLE: %<%Y-%m-%d>")))

```

---

<div class="post-metadata">

**Author:** ![jbaty](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jbaty/32/10_2.png) [@jbaty](https://org-roam.discourse.group/u/jbaty)\
**Post date:** [May 29, 2020, 11:06am UTC](https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210/3 "2020-05-29T11:06:42Z")

</div>

I should’ve known there was an easy solution right there already! 🙂

Thanks for this (and everything else).

---

<div class="post-metadata">

**Author:** ![jbaty](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/jbaty/32/10_2.png) [@jbaty](https://org-roam.discourse.group/u/jbaty)\
**Post date:** [May 29, 2020, 11:26am UTC](https://org-roam.discourse.group/t/putting-daily-notes-in-a-folder/210/4 "2020-05-29T11:26:06Z")

</div>

Oh, and then I fired up `dired`, marked all the daily files with `%m2020-`, moved them into `dailies/` and all the links and backlinks still work.

I let out a happy little yelp 🙂
