NameQuickHeftsoon

Rules

Automate file organization with conditional rules that run before and after renaming in Watch Folders.

ReferenceUpdated Oct 19, 2026

Rules let you automate file organization beyond just renaming. Set conditions like "if this is a PDF" or "if the name contains Invoice", then define actions like moving to a specific folder, adding tags, or archiving. Rules work on Mac and Windows.

WHENa file is added or renamed
IS INone or more watched folders
AND / ORoptional conditions match
THENuse a preset or run actions

Rules act only on files in Watch Folders, not on files you add to Quick Rename. Together they create hands-free workflows: files arrive, get renamed, and organize themselves based on their properties and finished name.

Rules are for files that keep arriving. For a one-time cleanup of an existing messy folder, see Organize.

The rule composer#

You build a rule as a plain sentence. Pick a trigger, the file types it should match, and where matching files go — the preview at the top updates as you choose. Try editing the rule below:

Organize documents

A guided composer. Build the rule as a sentence — the preview below updates as you choose.

Rule preview

When a file is added in any watched folder, if it’s one of PDF, DOC, DOCX, TXT, RTF, RTFD, PAGES, NUMBERS or KEY, then move it into Documents/{year}/.

trigger
inany watched folder
Add folder
match
▸File type is one ofPDFDOCDOCXTXTRTFRTFDPAGESNUMBERSKEY
Add conditionfilename, size, date, kind…
→move intoChoose folder
Add actiontag, color, comment, archive…

Creating Rules#

Rules follow an "if-then" structure: if conditions match, then actions execute.

  1. Add a Rule

    Open Rules in the sidebar and use + Add a Rule for added files or + Add a Rule for renamed files.

  2. Disable it while you configure it

    A new Rule starts switched on. Switch it off while you configure it, so it shows Paused. Valid edits save automatically.

  3. Enable it

    Switch it on when the Proof pane shows the matches you expect. It then shows Running.

The Mental Model#

Think of rules as filters with consequences:

  • Conditions define which files the rule applies to
  • Actions define what happens to matching files
  • Timing defines when in the workflow the rule runs

Rule Conditions#

Match files based on file properties. Use Add a condition:

CategoryConditionsExamples
File namename contains, name matches (regex)"name contains invoice, receipt" (comma-separated, any one counts), "name matches ^IMG_"
Typetype is"type is PDF", "type is JPG, PNG, HEIC"
File sizesize is"larger than 10 MB", "smaller than 1 KB"
Dateswas created, was modified"was modified before 2024-01-01"
Locationfolder path contains, is in"folder path contains Clients", "is in Downloads" (a watched folder)
Photo (EXIF)was taken, has location, camera make contains, camera model contains, width is, height is"camera model contains iPhone", "has location recorded"
Videoruns, codec contains"runs longer than 60 s", "codec contains hevc"

Good to know

Conditions never read document content. There are no conditions for extracted values, amounts, vendors, categories or document type. Photo and video checks read the file itself; a file without that data doesn't match.

AND/OR Logic#

Choose and to require every condition, or or to accept any one. The choice applies to the whole list; there are no nested groups.

AND (all must be true):

type is PDF
and size is larger than 1 MB
and name contains "invoice"

OR (any can be true):

type is PDF
or type is DOCX
or type is TXT

A single type is condition can also list several types at once.


Rule Actions#

When conditions match, execute actions. Use Add action:

ActionDescription
Move the fileMove into a folder, or to a path pattern with placeholders
Create an archiveArchive a copy into a ZIP
Move to trashMove to the system trash
Set tagsApply tags for organization
Set a commentAdd searchable text
Set a color labelLabel the file in your NameQuick library; on Mac also the Finder label
Set file datesSet the creation or modification date

Good to know

Steps always run in a fixed order, whatever order you add them in. A Rule can't both move a file and send it to the trash.

Move with Placeholders#

Move the file has two options. move it into a folder keeps the file's new name. move it to a path uses a Relative path pattern that also names the file. The original extension is kept.

Invoices/{year}/{month}/{original}

Creates: Invoices/2026/09/amazon-invoice.pdf for a file processed in September 2026.

Available path placeholders:

PlaceholderDescription
{year}, {month}, {day}Year, month and day of processing, not a date from the document
{date}, {time}, {datetime}, {hour}, {minute}, {second}Date and time of processing
{original}The file's new (proposed) name, without extension
{extension}File extension
{parent}Name of the source folder
{counter}The first free number, to avoid collisions
{date_taken}, {camera_make}, {camera_model}, {width}, {height}Photo facts read from EXIF

There are no placeholders for extracted values such as {vendor}, {client}, {category} or {amount}.

Tags, comments and color labels#

Add organization that persists with the file:

  • Tags and comments: on Mac they show in Finder. An empty Set tags or Set a comment action clears the tags or comment the file already has.
  • Color labels: show in your NameQuick library; on Mac NameQuick also sets the matching Finder label.

On Mac, search for tagged files with Spotlight.


Two-Phase Execution#

Rules run at specific points in the workflow. Choosing the right phase matters.

Phase 1: When a file is added (Pre-AI)#

Runs before AI processing and decides how the file is named. Uses only file properties.

  • Use Preset: names the file with the preset you pick
  • Keep the current name: skips the AI and files the file straight away. It is not held for name review.

Caution

With Keep the current name, Review first does not hold the file or its actions: they run straight away.

Use for:

  • Choosing a preset per file type or folder
  • Keeping files you don't want renamed, like drafts
  • Moving or tagging files without renaming them (with Keep the current name)

Example:

When a file is added
Condition: name contains "draft"
Action: Keep the current name

Phase 2: After a file is renamed (Post-AI)#

Runs after renaming, and also when you approve a name held for review. Conditions see the finished name, not extracted values.

Use for:

  • Moving files based on words your preset put into the name
  • Applying tags by file type or name
  • Archiving or cleaning up after renaming

Example:

After a file is renamed
Condition: name contains "Amazon"
Action: Move the file → move it into Finance/Amazon
        Set tags "amazon"

To make this work, your preset must put the vendor name into the filename.

Choosing the Right Phase#

Use CasePhaseWhy
"Use the invoice preset for PDFs"When AddedPicks the preset before AI runs
"Don't rename drafts"When AddedKeep the current name, no AI used
"Move invoices to Finance/"After RenameMatches Invoice in the finished name
"Tag by vendor"After RenameMatches the vendor word in the finished name
"Archive large files"After RenameCreate an archive runs only after renaming

Order and conflicts#

When a file is added, Rules are checked top to bottom and the first match wins. Drag Rules to reorder them.

After a file is renamed, the order depends on Settings → Renaming → Run all matching Rules. Off: the first matching Rule wins. On: every matching Rule contributes, and the first one to set an action wins that action.


Example Workflows#

Invoice Organization#

Watch Folder: ~/Downloads Naming preset: Invoice (filename template: date, vendor, fixed text Invoice, invoice number)

Rule (After Rename):

Condition: type is PDF
       and name contains "Invoice"
Action: Move the file → move it into Finance/Invoices
        Set tags "invoice"

Result: Downloads/scan.pdf → Finance/Invoices/2026-09-15_Amazon_Invoice_INV-4711.pdf

Screenshot Cleanup#

Watch Folder: ~/Desktop Preset: Smart Rename

Rule (After Rename):

Condition: type is PNG
Action: Move the file → move it into Screenshots
        Set tags "screenshot"

Result: Clean desktop, organized screenshot archive

Photo Import#

Watch Folder: Camera uploads folder Preset: Smart Rename

Rule (After Rename):

Condition: type is HEIC, JPG
Action: Move the file → move it to a path: Photos/{year}/{month}/{original}

{year} and {month} are the processing date. For the capture date, use the EXIF placeholder {date_taken}.

Result: Automatically organized photo library

Large File Archiving#

Watch Folder: ~/Downloads Preset: Smart Rename

Rule (After Rename):

Condition: size is larger than 100 MB
Action: Create an archive → archive a copy to Archives

Result: Large files get a compressed copy in your archive folder

Receipt Archive#

Watch Folder: ~/Receipts Naming preset: Receipt (filename template: date, merchant, fixed text Receipt, amount)

Rule (After Rename):

Condition: name contains "Receipt"
Action: Set tags "expense-report"

Result: Searchable, tagged receipt archive. The amount is in the filename, where your preset put it.


Best Practices#

Start Simple#

Begin with one rule per Watch Folder. Add complexity once you understand the workflow.

Good first rules:

  • Move all PDFs to a Documents folder
  • Tag all screenshots
  • Archive files larger than 100 MB

Test Before Enabling#

Use the Proof pane to see which recent files a Rule would match:

Requires
An empty test watch folder set to Review first · copies only
  1. Create the Rule disabled

    Create your rule and switch it off while you configure it, so it shows Paused.

  2. Add sample copies

    Add copies of sample files to an empty test watch folder set to Review first.

  3. Check Proof

    Check the Proof pane, for example "Matches 2 of 5 recent files", and the reasons others don't match.

  4. Enable and test for real

    Switch the Rule on so it shows Running, add fresh copies, and check the real destination folder.

Caution

Proof does not move files or confirm that the destination is writable. Approving a name held for review can trigger enabled after-rename Rules, so check the destination before you approve.

Use Descriptive Names#

Name your rules clearly:

Instead of...Write...
"Rule 1""Move invoices to Finance folder"
"PDF rule""Archive PDFs older than 90 days"
"Tag rule""Tag receipts for expense reports"

Combine with naming presets#

The real power comes from combining naming presets with Rules:

  • Filename templates put structured fields and fixed words like Invoice into the name
  • Rules match those words with name contains and organize the file

Rules don't read extracted values directly, so anything a Rule should react to must end up in the filename.

Avoid Conflicts#

When multiple rules could match the same file, see Order and conflicts. Check other enabled Rules that cover the same watched folder before enabling a new one.


Manual vs Automatic Processing#

NameQuick supports both modes. Rules apply only to automatic processing.

Manual Processing#

  • How: Drag files onto NameQuick or use Add files; they are named in Quick Rename
  • Best for: One-time cleanups, selected batches, ad-hoc tasks
  • Control: Full control over what gets processed. Rules don't run here.
  • Shortcut (Mac): ⌘⌃S renames the files selected in Finder

Automatic Processing (Watch Folders)#

  • How: New files are detected and processed while NameQuick is running
  • Best for: Downloads, Screenshots, camera imports, recurring workflows
  • Control: Set once; start with Review first
  • Shortcut: None needed

Mix Both#

Use Watch Folders for routine files (Downloads, Screenshots) and Quick Rename for ad-hoc batches (one-time cleanup of old files).


Getting Started#

  1. Add a Watch Folder in Settings → Folders, starting with an empty test folder
  2. Choose Review first so you approve names first
  3. Start with Smart Rename to see how it works
  4. Add a simple rule (like moving files to a subfolder)
  5. Graduate to Presets for consistent naming patterns
  6. Build name-based rules that match words your preset puts into the filename