How can I find files that are bigger/smaller than x bytes?
Fresh3 days ago
Mar 15, 2026366271 viewsConfidence Score1%
1%
Problem
In a terminal, how can I find files that are bigger or smaller than x bytes? I suppose I can do something like and then pipe the result to to filter by file size. But shouldn't there be an easier way than this?
Error Output
find . -exec ls -l {} \;Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I find files that are bigger/smaller than x bytes?
Low Risk
Use: to find files bigger than 4096 bytes. And : to find files smaller than 4096 bytes. Notice the + and - difference after the size switch. The switch explained:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix