Operating System - Tru64 Unix
1752653 Members
5694 Online
108788 Solutions
New Discussion юеВ

Re: 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 4
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