---
title: Excluding files and folders from export
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

You can exclude files and folders that are exported into the **Files** folder when the system creates [export](https://docs.kentico.com/13/deploying-websites/exporting-and-importing-sites/exporting-sites.md) packages. Add the following keys into the _appSettings_ section of your administration project's _web.config_ file:

- **Excluding folders from export**:

  ```html

  <add key="CMSExportExcludedFolders" value="test*;cms*" />

  ```
- **Excluding files from export**:

  ```html

  <add key="CMSExportExcludedFiles" value="test*;cms*" />

  ```

The values of the keys define names of files/folders the system excludes from the export. You can enter multiple values separated by semicolons.

You can also use the standard file system mask with the \* wildcard, which represents any number of characters in the name. No other file system mask wildcards are supported.

If the keys are not entered in the _web.config_ file, files with the **.scc** extension and folders with the **.svn** extension are excluded by default. However, if the keys are used, only the specified files and folders are excluded.
