Find All Large Files On A Linux System

We can use find to search directories for files greater than 20MB, display the path and file size. In this example we're searching the entire file system, but you may choose to use a specific path.

find / -type f -size +20M -exec ls -lh {} \; | awk '{ print $NF ": " $5 }'
 
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installing CSF (ConfigServer Firewall) on a server

This guide will walk you through installing CSF on a VPS/Dedicated server. Preparing the...

How to SSH into your VPS?

After receiving your VPS login details, the first thing you'll want to do is log in to the VPS....

How to install Python with mod_wsgi on a CentOS VPS or Server with cPanel?

The world knows that cPanel/WHM is not too Django, or python friendly. However, this is a step...

How to Find the folder with most files / inodes?

To find the folder with most files or inodes run the following command:find / -xdev -printf...

How do I upload files large or small to my VPS server?

We don't do posting and going to data centre anymore to upload files.Also uploading via any of...