Skip to content
TheChatArchiveThe Chat Archive
Qwenqwen3-235b-a22b-no-thinking· Alibaba (Qwen)Hugging Face LMArena Human Preference 140K

Write a rule for file juggler to organize filetypes into folders based on type

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-opus-4-20250514’s answer.
  1. User

    Write a rule for file juggler to organize filetypes into folders based on type

  2. Qwen Assistant

    Sure! Below is a File Juggler rule that organizes files into folders based on their file type (e.g., PDFs go into "PDFs", images into "Images", etc.).

    📁 Rule: Organize Files by File Type

    🔧 Conditions:

    • Condition 1: File → File name → matches pattern → *.*
      (This ensures only actual files are matched and not folders)

    🗃 Actions:

    You can add multiple actions depending on the file types you want to organize. Each action checks for a specific extension and moves the file into the appropriate folder.


    ✅ Example Actions:

    Replace "C:\Path\To\TargetFolder" with your actual target directory path.


    1. Move PDFs

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\PDFs\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .pdf


    2. Move Images (JPG, PNG, GIF)

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\Images\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .jpg, .jpeg, .png, .gif, .bmp, .tiff


    3. Move Documents (Word, Excel, PowerPoint)

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\Documents\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .doc, .docx, .xls, .xlsx, .ppt, .pptx


    4. Move Text Files

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\TextFiles\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .txt, .rtf, .log


    5. Move Audio Files

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\Audio\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .mp3, .wav, .aac, .flac, .ogg


    6. Move Video Files

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\Videos\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .mp4, .mkv, .avi, .mov, .wmv


    7. Move Archives

    • Action: Move

    • Source: {file}

    • Destination Folder: C:\Users\YourName\Documents\Organized\Archives\{file:name}{file:extension}

    • Condition for this action:
      File → File name → ends with → .zip, .rar, .7z, .tar.gz, .iso


    🛠 Tips:

    • Make sure all destination folders exist before running the rule.
    • You can set up watched folders in File Juggler to automatically apply this rule.
    • Use {file:name} and {file:extension} placeholders to keep original filenames.
    • If no condition matches, the file remains untouched.

    Would you like this exported as a .json or .rule configuration file for File Juggler?

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.