|
How to check if any three files are the same size in a directory
If I am not mistaken this assumes you know the names of the three file to compare.
What I need is a script that assumes you do not know the names "x1" "x2" "x3" at the start.
Say you have a directory of 1000 files - the question is do any three (or more) of these 1000 files have the same size.
or another way to satisfy my needs would be a script:
Do the last three files created have the same size?
Thanks.
|