The Folder & Duplicate Scanner is a feature-rich PowerShell application with a graphical user interface (GUI) designed to help you analyze your file system. While originally developed for managing game mods (like The Sims 4), it is a general-purpose tool perfect for scanning any folder structure. It offers two primary functions: scanning folders to generate detailed reports (TXT, CSV, HTML) and identifying duplicate files based on their content (MD5 hash).
Built by: Zachary Whiteman & Google Gemini Ai.
This tool provides a powerful way to audit your file storage and recover space.
To run this script, you will need:
- Windows Operating System.
- PowerShell 5.1 or newer.
- .NET Framework: Required for the Windows Forms GUI.
- Download: Download the
MASTERSimsFolderScanner.ps1script file. - Unblock: Right-click the file, go to Properties, and click
Unblock. - Run: Execute the script from a PowerShell console.
.\MASTERSimsFolderScanner.ps1
This tab allows you to generate a comprehensive list of files in a directory.
- Folder to Scan: Select the directory you want to analyze.
- Save Location: Choose where the report file will be saved.
- Output Format:
- Text File (.txt): A simple, tree-like structure of your folders.
- CSV File (.csv): A structured data file suitable for opening in Excel.
- Interactive HTML File (.html): A modern, sortable, and searchable web page report.
- Advanced Options:
- Calculate MD5 Hash: Enables precise content identification (slower but more accurate).
- Filter: Only scan for specific file extensions (e.g.,
.package,.zip).
This tab helps you find redundant files.
- Scan Mode:
- Scan a folder: Perform a fresh scan of a directory to find duplicates immediately.
- Analyze a report: Re-use a previously generated CSV or TXT report to find duplicates without re-scanning the drive.
- Find Duplicates: Click the button to start the process. The results list will show groups of files that have identical content (matching MD5 hashes).
- Recursive Scanning: Deeply scans all subfolders of the target directory.
- Multiple Report Formats: Flexible output options to suit different needs (Text, Excel-ready CSV, or Web Report).
- Content-Based Matching: Uses MD5 hashing to find true duplicates, even if they have different filenames.
- Interactive HTML Reports: The HTML output includes built-in search and sorting capabilities, making it easy to navigate large file lists.
- Settings Persistence: Remembers your custom application icon setting between sessions.
- Scripting Language: PowerShell
- GUI Framework: .NET Windows Forms (WinForms).
- Algorithms: MD5 Hashing for file comparison.
- Read-Only: The script primarily reads file metadata and content (for hashing). It does not delete or modify your files automatically.
- Performance: Calculating MD5 hashes for large files can take time. The interface includes a progress bar to indicate activity.
- Console Hiding: Uses P/Invoke (
kernel32.dll) to hide the console window on launch. - Configuration: Stores settings in
$env:APPDATA\GeminiFolderScanner.
Distributed under the MIT License. See LICENSE.txt for more information.
Zach Whiteman - elitesoftwarecolimited@gmail.com
HuggingFace - https://huggingface.co/EliteSoftware
HuggingFace (Personal) - https://huggingface.co/TheShadyRainbow
LinkTree - https://linktr.ee/zachrainbow