[NTLUG:Discuss] find: 1G < 1024M?

Patrick R. Michaud pmichaud at pobox.com
Tue Oct 19 14:18:03 CDT 2010


On Tue, Oct 19, 2010 at 01:57:19PM -0500, Stuart Johnston wrote:
> I have this command to find files smaller than a particular size:
> 
> find ./ -regex ".*\.[mn][pu][gv]" -size -1G -type f -exec ls -lh {}
> \; | awk '{ print $8 ": " $5 }'

Out of curiosity, what does "find --version" say?

Pm



More information about the Discuss mailing list