Created
February 7, 2026 15:31
-
-
Save josuecau/74fc888159faee393153441fdc5d6404 to your computer and use it in GitHub Desktop.
Find .mkv files with same size (potential duplicates)
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Find .mkv files with same size (potential duplicates) in nested sub-folders of downloads directory | |
| find ~/downloads -type f -name '*.mkv' -links 1 -printf "%10s\t%p\n" | sort --numeric | uniq -D --check-chars=10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment