find / -xdev -size +1000000 -exec ls -lh {} \;

The above will list files greater than a gigabyte in size… YOu can pipe it to a file if you need to lower the search size resulting in more files with > filename

find / -xdev -size +1000000 -exec ls -lh {} \; > /home/user/large-files.txt


By admin

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.