find . -size +100000 doesn't seem to work
Mike Wescott
wescott at sauron.UUCP
Wed Oct 15 00:01:29 AEST 1986
In article <2300 at psuvax1.UUCP> ehrlich at 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
More information about the Comp.unix.wizards
mailing list