---
title: Rules Engine — Virtual Media Folders add-on
canonical: "https://vmf.soderlind.no/add-ons/rules-engine/"
description: "Rule-based automatic folder assignment for uploads, driven by metadata, file type, and EXIF/IPTC data."
---

# Rules Engine

_Auto-file uploads by metadata, type, or EXIF._

Rules Engine assigns uploads to folders automatically using rules you define — match on file type, metadata, or embedded EXIF/IPTC data, and route each file to the right folder the moment it lands. Set it up once and new media organizes itself.

## Highlights

- Match on file type, metadata, EXIF and IPTC
- Automatic folder assignment on upload
- Chain multiple rules for precise routing
- Works with the vmfo_upload_folder filter under the hood

Repository: https://github.com/soderlind/vmfa-rules-engine
