I'd like a simple command (perhaps using find
) which finds all files > some size in bytes, kilobytes, megabytes, or gigabytes, and which prints their size as they are found.
This command, for instance, finds all files > 10 MB, but does not show their size, unfortunately:
find . -size +10M
See also:
- Files greater than 1 GB and older than 6 months - doesn't show size
- Linux show files in directory larger than 1 GB and show size - accepted answer looks more-complicated than expected, and I don't need sorting.
- Find files greater than X value, sort by size, show in ls format - I don't need nor want
ls
format, and main answer may not work with spaces - https://linuxconfig.org/how-to-use-find-command-to-search-for-files-based-on-file-size