VDS Sphera Knowledge Base

Main / Browse Categories / Unix / Linux / How do I use the find command to find certain sized files?

Print article Print Article    Email article Email Article

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
How do I use the find command to find certain sized files?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 How do I create a symbolic link?
 I need to get "xyz" package installed for our program to work and am having issues compiling it.
 How can I change permissions on my files?
 I noticed "file quota" statistics in my Control Panel. Can you explain what this means as I was not aware there were any limitations on the amount of files that could be placed im my VDS?
 Security Scan Vulnerability False Positives

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »