Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the files that are greater than 10 Mb?

SOLVED
Go to solution
José Luis Martínez
Occasional Contributor

How can I get the files that are greater than 10 Mb?

I have a Digital Server running on Tru64 and for some reason the file system got full, so I want to find the files that are greater than 10 Mb, Could someone help me with this problem? Thanks in advance.

4 REPLIES
Mohamed K Ahmed
Trusted Contributor

Re: How can I get the files that are greater than 10 Mb?

to search all your mount points including subfolders and directories...

find / -size xxxk

where xxx is the size you want to find in KB

check other options in man pages of find and ls

HTH

Mohamed
Uwe Zessin
Honored Contributor
Solution

Re: How can I get the files that are greater than 10 Mb?

For all files _greater_ than 10MBytes it looks like there must be a plus sign before the size, e.g.:
# find / -size +10000k
.
Mohamed K Ahmed
Trusted Contributor

Re: How can I get the files that are greater than 10 Mb?

The above command gives you the files that their size is around the number xxx

IF you know thw approx file size, you can use this command. If you don't know the sixe, I think there is other complex command

HTH

Mohamed
Mohamed K Ahmed
Trusted Contributor

Re: How can I get the files that are greater than 10 Mb?

right Uwe, the "+" sign...I missed that...thanks