Filtering
Control which files are included in your torrent using glob patterns for inclusion and exclusion rules.
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
Specify patterns for files to exclude from the torrent:
Exclude patterns are useful when you want to keep most files but skip specific types.
Specify patterns for files to exclude from the torrent:
Exclude patterns are useful when you want to keep most files but skip specific types.
Specify patterns for files to include in the torrent:
Using --include
activates whitelist mode - only matching files will be considered for inclusion.
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
--include
patterns exist:- Keep files matching any include pattern
- Skip all other files
-
Exclude Check If no
--include
patterns:- Skip files matching any exclude pattern
- Keep all other files
-
Default Behavior Keep files not affected by above rules
Configuration Files
Command-line flags (--include
, --exclude
) will add to any patterns defined in your preset or batch configuration.
Was this page helpful?