# How to automatically create folders with the current date

Ignoring the sorting of files leads to disorder and makes your work slower since the processing of a large number of files in the same folder requires additional time. The best way is to place images to the folders according to its dates. With Quantum Manager you can automatize this process and save a lot of time.

Let's change the first default scope according to our requirements and include variable to the path:

<https://www.yourdomain.com/`images/{year}-{month}-{day}`>

<figure><img src="https://norrnext.com/images/docs/quantum-manager/folder-date1.png" alt="Add variables to create folder with date in name  - Quantum Manager"><figcaption><p>Add variables to create folder with date in name</p></figcaption></figure>

According to such logic, a user of a specific user group (Editor, Author, etc.) will be redirected to the folder with the current date each time they open Quantum Manager. But now let's create a scope for administrators to see all images. We should add custom scope:

Name: `All images`

Path: <https://www.yourdomain.com/`images`>

<figure><img src="https://norrnext.com/images/docs/quantum-manager/folder-date2.png" alt="All images scope - Quantum Manager"><figcaption><p>All images scope</p></figcaption></figure>

And now we need to add an override in Profiles:

<figure><img src="https://norrnext.com/images/docs/quantum-manager/folder-date3.png" alt="Give access to Adminisrators via configuration override  - Quantum Manager"><figcaption><p>Give access to Adminisrators via configuration override</p></figcaption></figure>

Select a user group that should have access to `All images` scope (Administrator, Super Administrator).

* User Group: Super Administrator
* Config name: `scopescustom`
* Override: none

The result is on the pictures below:

<figure><img src="https://norrnext.com/images/docs/quantum-manager/folder-date5.png" alt="Access level for Administrator and Super Administrator  - Quantum Manager"><figcaption><p>Access level for Administrator and Super Administrator</p></figcaption></figure>

The Administrators can see `Images` and additionally `All images` scope to access images root directory.

<figure><img src="https://norrnext.com/images/docs/quantum-manager/folder-date4.png" alt="Access level for Editor, Author  - Quantum Manager"><figcaption><p>Access level for Editor, Author and Manager</p></figcaption></figure>

This is what Managers and Authors see - only specific folders.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.norrnext.com/quantum-manager/best-practices/how-to-automatically-create-folders-with-the-current-date.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
