The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 06-28-2009
Arunprasad Arunprasad is offline
Registered User
  
 

Join Date: Aug 2008
Location: syn chen
Posts: 73
Hi Scottn,

I was successful with:


Code:
MAX_FILE_LIMIT=1073741824
find $FILE_SYSTEM -type f -size +"$MAX_FILE_LIMIT"k -ls -xdev

Hopefully, the same with G option will also work.-but capital G also works? i havn't tried.

Can you clear me, why this code:
Code:
MAX_FILE_LIMIT=1099511627776
find $FILE_SYSTEM -type f -size +"$MAX_FILE_LIMIT"c -ls -xdev 2>/dev/null

listed the files which are lesser than the given size.

I suspect, there is some limitation and that was restricting this find command to process normally with the given size and so it started listing all files from smaller to greater..... - i dont know, whether 6 GB is the smallest file at that time, but it started picking from that size.

Any thoughts will be very helpful for me!

Thanks.