Last active
December 24, 2015 21:19
-
-
Save nielsvanderbeke/6865112 to your computer and use it in GitHub Desktop.
Find duplicate files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# print them | |
find . -regex '.*([0-9])\..*' | |
# count them | |
find . -regex '.*([0-9])\..*' | wc -l | |
# delete them | |
find . -regex '.*([0-9])\..*' -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment