Okay, this is an excellent and common use case for File Juggler!
To achieve this, we'll set up a single rule with multiple actions. File Juggler's Move action inherently creates folders if they don't exist, and the "scan subfolders" option is configured at the Watched Folder level, not within the rule itself.
Here's how to set it up:
📁 Rule: Advanced File Type Organizer
⚙️ Important Setup Notes Before Creating the Rule:
-
Define your Target Root Folder: This is the main folder where your organized folders (like "PDFs", "Images", etc.) will be created.
- Example:
C:\Users\YourName\Documents\OrganizedFiles
- Make sure this
Target Root Folder exists. File Juggler will create subfolders within this, but the root needs to be there.
-
Configure your Watched Folder(s):
- In File Juggler, go to "Watched Folders".
- Add the folder(s) you want to organize (e.g., your "Downloads" folder, or a "Temporary" folder).
- Crucially, enable the "Scan subfolders" (or "Include subfolders") option for each watched folder. This tells File Juggler to look inside all subdirectories.
- Assign this rule to the watched folder(s).
🔧 Rule Details:
Rule Name: Organize Files by Type
1. Global Rule Condition:
- Condition:
File → File name → matches pattern → *.*
- Explanation: This ensures the rule only applies to actual files (those with an extension) and not to directories themselves.
🗃 Actions (Add these actions sequentially within the same rule):
Replace C:\Users\YourName\Documents\OrganizedFiles with your actual Target Root Folder!
Action 1: Move PDFs
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\PDFs\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .pdf
- Optional: Add other PDF-like extensions like
.xps if needed.
Action 2: Move Images
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Images\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .jpg, .jpeg, .png, .gif, .bmp, .tiff, .webp
Action 3: Move Documents
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Documents\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .doc, .docx, .xls, .xlsx, .ppt, .pptx, .odt, .ods, .odp, .rtf
Action 4: Move Text Files
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\TextFiles\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .txt, .log, .md, .json, .xml, .csv
Action 5: Move Audio Files
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Audio\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .mp3, .wav, .aac, .flac, .ogg, .m4a
Action 6: Move Video Files
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Videos\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .mp4, .mkv, .avi, .mov, .wmv, .webm, .flv
Action 7: Move Archives
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Archives\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .zip, .rar, .7z, .tar.gz, .iso
Action 8: Move Executables/Programs
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Programs\{file:name}{file:extension}
- Condition for this specific action:
File → File name → ends with → .exe, .msi, .dmg, .app, .jar
Action 9: Move Unsorted/Others (Catch-all)
- Action Type:
Move
- Source:
{file}
- Destination Folder:
C:\Users\YourName\Documents\OrganizedFiles\Unsorted\{file:name}{file:extension}
- Condition for this specific action:
File → File name → matches pattern → *.*
- Explanation: This action should be the last one in your rule. File Juggler processes actions from top to bottom. If a file is successfully moved by an earlier action (e.g., to "PDFs"), it will no longer be present at its original location for this "Unsorted" action to find, effectively allowing this to catch everything else.
How it Works:
- Scanning: File Juggler scans your "Watched Folder(s)" and their subfolders (because you enabled "Scan subfolders").
- Rule Applied: For every file found:
- The main rule condition
*.* is checked (is it a file?).
- Then, File Juggler goes through each action from top to bottom.
- It checks the individual condition for each action.
- If a condition matches (e.g., the file is a
.pdf), the file is moved to the specified folder (PDFs).
- Crucially: When the
Move action is executed, if the destination folder (C:\Users\YourName\Documents\OrganizedFiles\PDFs) doesn't exist, File Juggler will automatically create it before moving the file.
- Once a file is moved by an action, it's removed from its original location, so subsequent actions in the same rule won't "see" it anymore.
- If a file doesn't match any specific action's condition, it will eventually reach the "Unsorted" action, which will move it there.
Remember to test this with a few sample files first to ensure it behaves exactly as you expect before applying it to a large, critical directory!