VDS Sphera Knowledge Base
| Main / Browse Categories / Unix / Linux / How do I use the find command to find certain sized files? |
How do I use the find command to find certain sized files?
|
You can use the find command to find a certain size of file(s) in your account.
Here is an example:
find . \( -path './proc' -prune \) -o \( -size +10485760c -exec ls -l {} \; \)
The above command will find all files over 10 megabytes in size, which is 1024x1024x10.
find . \( -path './proc' -prune \) -o \( -size +52428800c -exec ls -l {} \; \)
The above command will find all files over 50 megabytes in size, which is 1024x1024x50.
User Comments
|
||||||||
Attachments
| No attachments. |
Related Articles


