Skip to content

Instantly share code, notes, and snippets.

@adrienjoly
Created April 14, 2014 08:48
Show Gist options
  • Save adrienjoly/10628985 to your computer and use it in GitHub Desktop.
Save adrienjoly/10628985 to your computer and use it in GitHub Desktop.
recursively find the list of files that have duplicates names
sudo find . "*" -print0 | xargs -0 -I {} basename {} | uniq -d -i >~/dupes.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment