> ## Documentation Index
> Fetch the complete documentation index at: https://compresto.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Folder monitoring

> Monitor folders for automatic compression

## Overview

Folder monitoring allows Compresto to automatically compress files when they are added to specified folders. This is useful for automating compression workflows.

## Getting Started

**Step 1**

Open the Settings window and choose the **Folder Monitoring** tab

![folder\_monitoring\_1](https://mintcdn.com/compresto/OeBIOIpDZVd45LNV/images/folder_monitoring_1.png?fit=max\&auto=format\&n=OeBIOIpDZVd45LNV\&q=85\&s=571e0675b8c168667f6448839aadefec)

**Step 2**

Press **Add folder** to add the folder you want to monitor

![folder\_monitoring\_2](https://mintcdn.com/compresto/OeBIOIpDZVd45LNV/images/folder_monitoring_2.png?fit=max\&auto=format\&n=OeBIOIpDZVd45LNV\&q=85\&s=3db5b0859d595559ca2c9e10419fd52a)

**Step 3**

Once the folder is added, press **Settings** to customise the compression settings for that folder

![folder\_monitoring\_3](https://mintcdn.com/compresto/OeBIOIpDZVd45LNV/images/folder_monitoring_3.png?fit=max\&auto=format\&n=OeBIOIpDZVd45LNV\&q=85\&s=1d77f8a1c50d55c173a49f42889daf0a)

**Step 4**

Configure your compression settings

![folder\_monitoring\_4](https://mintcdn.com/compresto/OeBIOIpDZVd45LNV/images/folder_monitoring_4.png?fit=max\&auto=format\&n=OeBIOIpDZVd45LNV\&q=85\&s=2e0f851cd11a9571c124910e7463d049)

**Step 5**

Whenever a new file is added to the folder, Compresto will automatically compress it

![folder\_monitoring\_5](https://mintcdn.com/compresto/OeBIOIpDZVd45LNV/images/folder_monitoring_5.gif?s=0d8f37873c7ff962a421625528a12e36)

## Configuration Options

### File Type

Choose which file types to monitor and compress:

| Option | Description |
| - | - |
| **Image** | Only compress image files |
| **Video** | Only compress video files |
| **Video and image** | Compress both video and image files (default) |

> [!NOTE]
>
> Folder monitoring handles images and videos only. GIF, PDF, and EPUB files in a monitored folder are ignored. Hidden files and in-progress Chrome downloads (`.crdownload`) are skipped too.

### Wait for File to Finish Writing

Large downloads, exports, and network transfers can arrive in pieces. Set **Wait for file to finish writing** (0–60 seconds) and Compresto waits until the file size stays the same for that long before compressing it. Type a value and press **Update**.

The default is **0**, which compresses new files right away.

> [!TIP]
>
> Use 2–5 seconds for folders that receive files over the network or from apps that write in chunks.

### Video Settings

* **Video quality**: highest, high, good, medium, acceptable
* **Video resolution**: same as input, 4K, Full HD, HD, max width, max height, max long edge, max short edge
* **Video format**: same, mp4, webm, mov
* **Remove audio**: Strip audio track from videos

### Image Settings

* **Image quality**: highest, high, good, medium, acceptable
* **Image format**: same, jpg, png, webp, avif
* **Image size**: same as input, percentage, max width, max height, max long edge, max short edge

### Subfolder Processing

Use **Include subfolders** to control how deep Compresto watches:

| Option | Description |
| - | - |
| **None** | Only monitor the selected folder (default) |
| **Custom** | Monitor subfolders up to a **Max depth** you set |
| **All** | Monitor all subfolders, at any depth |

### Output Settings

#### Remove Input File

Enable to automatically delete the original file after compression.

#### Output Folder

| Option | Description |
| - | - |
| **Same as input** | Save compressed files in the same folder as input |
| **Subfolder** | Save to a subfolder (default: "compressed") |
| **Custom** | Choose a specific output folder |

#### Output File Name Format

Customize the output file name using these variables:

| Variable | Description |
| - | - |
| `{timestamp}` | Current unix timestamp |
| `{datetime}` | Date and time in "yyyy-MM-dd'T'HHmmss" format |
| `{date}` | Date in "yyyy-MM-dd" format |
| `{time}` | Time in "HHmmss" format |
| `{quality}` | Quality of the output file |
| `{resolution}` | Resolution of the output file |

Leave the field empty to use the global file name format.

> [!NOTE]
>
> Each monitored folder can have its own independent compression settings.

## Clipboard Compression

The **Folder Monitoring** tab also has **Auto-compress clipboard contents**, which compresses files and images as soon as you copy them. See [Clipboard compression](https://compresto.app/docs/customization/clipboard-compression.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.