blog

WINDOWS POWER SHELL - DEDUPLICATE

Here you can find a script for deduplicating files based on their hash. It's written in PowerShell and compares files based on their hash values.

Examples

Here are examples of how to use the script in Windows 10 and macOS.

Single location:

Windows: .\deduplicate.ps1 -paths "d:\" -showGui true
macOS: .\deduplicate.ps1 -paths "/Users/temp/Downloads" -showGui false