Configuration
Configuration for autotidy can be found at the following location:
| platform | path |
|---|---|
| Linux | ~/.config/autotidy/config.yaml |
| macOS | ~/.config/autotidy/config.yaml |
| Windows | %APPDATA%\autotidy\config.yaml |
Example
# Moves PDFs and Word docs from Downloads/Desktop to ~/Documents
# organized by extension
rules:
- name: Organize Downloads
locations:
- ~/Downloads
- ~/Desktop
filters:
- extension: [pdf, doc, docx]
actions:
- move: ~/Documents/${ext}
Reference
- Rules - Rule properties and structure
- Filters - Filter types and boolean operators
- Actions - Available actions
- Templates - Variables like
${name},${ext},${date} - Additional Options - Daemon and logging settings
Hot Reload
The autotidy daemon supports hot-reloading of configuration:
autotidy reload