ehrlich@psuvax1.UUCP (Dan Ehrlich) (10/13/86)
I have been trying to use find to locate files larger than a given size in our /usr/spool/mail directory. Running as root the following command is issued: # find /usr/spool/mail -size +100000 -print No output is generated. Can someone give me a hint as to what is going on? The man page says that "+n" means "more than n". Is this a bug in the find program? Thanks in advance. --Daniel Ehrlich =============================================================================== CSNET: ehrlich@penn-state.csnet USPS: The Pennsylvania State University INTERNET: ehrlich@psuvax1.psu.edu Department of Computer Science UUCP: ...!ihnp4!psuvax1!ehrlich 334B Whitmore Laboratory BITNET: ehrlich@psuvax1.bitnet University Park, PA 16802 BELL: (814) 863-1142 "The sky is blue so we know where to stop mowing." Judge Harold T. Stone ===============================================================================
jrw@hropus.UUCP (Jim Webb) (10/14/86)
> I have been trying to use find to locate files larger than a given size > in our /usr/spool/mail directory. Running as root the following command > is issued: > > # find /usr/spool/mail -size +100000 -print > > No output is generated. Can someone give me a hint as to what is going > on? The man page says that "+n" means "more than n". Is this a bug in > the find program? If you have 100000 BLOCK files sitting around, you have more problems than find :-). At least with SVR2, -size +100000c will show you all files larger than 100000 bytes long, but since you are looking in /usr/spool/mail, I guess you aren't SV... -- Jim Webb "Out of phase--get help" ...!ihnp4!hropus!jrw
wescott@sauron.UUCP (Mike Wescott) (10/14/86)
In article <2300@psuvax1.UUCP> ehrlich@psuvax1.UUCP (Dan Ehrlich) writes: > I have been trying to use find to locate files larger than a given size > in our /usr/spool/mail directory. Running as root the following command > is issued: > # find /usr/spool/mail -size +100000 -print > No output is generated. Can someone give me a hint as to what is going > on? The man page says that "+n" means "more than n". This is correct, but the 4.2BSD manual also says: -size n True is the file is n blocks long. 100000 blocks long means roughly 51Mb in the file. A very big file. System V find allows the number to be followed by the letter "c" indicating that the size is in characters, not blocks. -- -Mike Wescott ncrcae!wescott