Use glob patterns with
--include and --exclude flags to precisely control which files are included in your torrent.Built-in Exclusions
System Files
mkbrr automatically excludes these common system files (case-insensitive):
Filter Flags
- --exclude
- --include
Specify patterns for files to exclude from the torrent:
Exclude patterns are useful when you want to keep most files but skip specific types.
Pattern Rules
Pattern Matching
- Matches filename only (not full path)
- Case-insensitive matching
- Uses glob patterns
- Supports comma-separated lists
Common Patterns
*.nfo# All NFO files*sample*# Any file with ‘sample’*.{mkv,mp4}# MKV and MP4 files
Processing Order
-
Built-in Exclusions
System files (
.torrent,.ds_store, etc.) are always excluded first -
Include Check
If
--includepatterns exist:- Keep files matching any include pattern
- Skip all other files
-
Exclude Check
If no
--includepatterns:- Skip files matching any exclude pattern
- Keep all other files
- Default Behavior Keep files not affected by above rules
Configuration Files
Preset and Batch Support
Preset and Batch Support
Both filtering options can be defined in configuration files:
presets.yaml
batch.yaml
Command-line flags (
--include, --exclude) will add to any patterns defined in your preset or batch configuration.
