Skip to content

Instantly share code, notes, and snippets.

View larrye11ison's full-sized avatar
💭
Would you hold still, please, sir?

Not Larry Ellison larrye11ison

💭
Would you hold still, please, sir?
  • Substantially earth-adjacent
View GitHub Profile
@larrye11ison
larrye11ison / deduplicate-folder.ps1
Created June 4, 2015 19:37
Deduplicate all files recursively starting in the supplied folder. Dupes are moved into a folder called "___dupes___" in the root.
################################################################################################
##
## Where should the processing start? Put the full path to the folder here:
##
$startFolder = '????????????????'
##
################################################################################################
if(!(test-path $startFolder))
{