Re: find command question



find /your_directory -size +1000000000c

will find all files larger than 1 GB

Thanks,
Jim Naylor
Unix/Storage Systems Administrator
Schnuck Markets, Inc.
* Direct (314) 994-4784
))( Cell (314) 691-0186
Fax (314) 994-4684
* E-Mail jnaylor@xxxxxxxxxxxx


-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx]On Behalf Of
John T. Mills
Sent: Thursday, February 01, 2007 11:08 AM
To: aix-l@xxxxxxxxxxxxx
Subject: find command question


I'd like to find all the files in a directory larger than a given size
(ie 1GB in this case). I see that I can use the -c flag to find an exact
size. Must I use du with a loop or can this be done with the find command?

Thanks,

John T. Mills

______________________________________________________________________
The information transmitted (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is intended only for the person(s) or entity/entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



Relevant Pages