Skip to content

Condition Reference

Condition Reference

Conditions are the “filter” — they tell FinalPlace which files to process and which to skip.


Filter by the file’s name, not including the extension.

InputEffect
reportFile name contains “report”
~$Starts with ~$ (Office temp files, currently open in Word/Excel)
IMG_\d{4}Regex: matches IMG_0001, IMG_1234, etc.

Choosing an operator:

OperatorWhen to use
ContainsName has these characters
Does not containName must NOT have these characters
Starts withName begins with…
Ends withName ends with…
Regex matchPrecise pattern matching (advanced)

Filter by file format/suffix.

InputEffect
pdfPDF files only
jpg,png,gifAll image types: JPG, PNG, GIF
docx,doc,xlsx,pdfCommon office documents

Tip: Use notContains with tmp,bak,cache to exclude temporary files.


Filter by how large the file is.

InputEffect
greater than 10MBFiles over 10MB
less than 100KBFiles under 100KB
equals 0Empty files

Unit format: B / KB / MB / GB, case-insensitive, spaces allowed.


Filter by when the file was first created.

InputEffect
7dCreated within the last 7 days
30dCreated within the last 30 days
1hCreated within the last hour
180dCreated about 6 months ago

Typical use: modified time before 180d = “find files I haven’t touched in half a year, move to archive.”


Same as created time, but tracks last modified instead.

Useful for cleaning up “zombie files” you haven’t touched in a long time.


Filter by Windows file attributes.

AttributeMeaning
READONLYRead-only file
HIDDENHidden file
SYSTEMSystem file

Exclude files from specific paths, preventing them from matching this rule.

Example: Monitor the entire Downloads folder but skip the temp subfolder.


Filter by content inside the file.

OperatorEffect
ContainsContent has these characters
Does not containContent must NOT have these characters
Regex matchPattern match the content (advanced)

How it works: FinalPlace reads file content in streaming mode, decodes UTF-8, and matches keywords across lines. Supports up to 5 keywords and skips files over 100MB by default.

Note: If a file can’t be read (permission issues or binary files), this condition is simply skipped — it doesn’t affect other conditions.


When one condition isn’t enough, combine multiple:

Example:

( extension is pdf OR extension is docx ) AND ( name contains "contract" )

Means: “All PDF or Word docs with ‘contract’ in the filename”

In FinalPlace, this is done via nested condition groups, stored as JSON:

{
"isGroup": true,
"logic": "OR",
"items": [
{"type": "extensionFilter", "op": "contains", "value": "pdf"},
{"type": "extensionFilter", "op": "contains", "value": "docx"}
]
}

In “File Name” and “File Content” conditions, when using the “Regex match” operator:

PatternMeaningExample
^Start of string^IMG_ → files starting with IMG_
$End of string\.pdf$ → files ending with .pdf
\d{4}4 digitsIMG_\d{4} → matches IMG_0001
.*Any charactersreport.* → files containing “report”
[abc]Any one in brackets[0-9] → any single digit

ScenarioCondition Setting
All imagesExtension: jpg,jpeg,png,gif,bmp,webp
New files this weekCreated time: 7d
Videos over 100MBSize: greater than 100MB
Exclude temp filesExtension notContains: tmp,bak,cache,~
Office temp filesFile name startsWith: ~$