find limitation

Hi ,

i'm trying to use "find "command with "-size "option but i encounter 2gb file limitation.

Can you confirm this limitation ?

Is there a simple way to do the same thing ?

My command is :

<clazz01g-notes01>/base/base01 # find /base/base01 -name '*.nsf' -size +5242880000c -exec ls -g {} \; 2>/dev/null|sort -brn -k4,4
-rw------- 1 notes 5246287872 Apr 18 13:36 /base/base01/
-rw------- 1 notes 4626317312 Apr 18 15:26 /base/base01/
-rw------- 1 notes 4348444672 Apr 18 15:27 /base/base01/
-rw------- 1 notes 3746562048 Apr 18 15:26 /base/base01/
-rw------- 1 notes 3619872256 Apr 18 13:35 /base/base01/
-rw------- 1 notes 2820407296 Apr 18 15:02 /base/base01/
-rw------- 1 notes 2636644352 Apr 18 15:26 /base/base01/
-rw------- 1 notes 2489581568 Apr 18 14:24 /base/base01/
-rw------- 1 notes 2467299328 Apr 18 15:27 /base/base01/
-rw------- 1 notes 2362703872 Apr 18 15:20 /base/base01/
-rw-r--r-- 1 notes 2332819456 Feb 14 07:40 /base/base01/
-rw------- 1 notes 2330722304 Apr 18 15:27 /base/base01/
-rw------- 1 notes 2282225664 Apr 18 15:07 /base/base01/

thanks in advance
Christian

The following will give you a flat file list of files over two gig; maybe you can incorporate them into a find script or something.

ls -As1 anydir > dir.lst
sed '/total/d' dir.lst > dirmod.lst
awk -F " " '$1 >= 4194304 {print $2}' dirmod.lst > monstoruslyhugefatfiles.lst

hope it at least gives you something to chew on.

Thanks for your help , in fact the solution was in the "-size" option :

<clazz01g-notes01>/base/base01 # find /base/base01 -name '*.nsf' -size +9000000

the "little" c means calculates directly in bytes and i think it's limited to 2gb

but without "c" we are in 512 bytes blocks so we must divide the size we want here 5gb /512 = about 9.000.000

and it works !

christian