Operating System - HP-UX
1753856 Members
7702 Online
108809 Solutions
New Discussion юеВ

Re: Find all files with size superior to n Ko.

 
SOLVED
Go to solution
Leo The Cat
Regular Advisor

Find all files with size superior to n Ko.

Hi

I'd like to use the find command to find all files having a size superior to n Ko.

How to do this ?

Thanks in advance
Regards
Den
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor
Solution

Re: Find all files with size superior to n Ko.

Hi:

# find /path -type f -size 10000c

...finds all *files* in '/path' whose size is greater or equal to 10,000 characters.

If you omit the "c" the value is assumed to be in 512-character blocks.

Regards!

...JRF...
Leo The Cat
Regular Advisor

Re: Find all files with size superior to n Ko.

The last command provided by JRF works as well. Thanks