Re: Scanning for large files
Icarus Sparry schreef:
> On Wed, 19 Mar 2008 09:05:59 -0700, laredotornado wrote:
>
>> Hi,
>>
>> I'm using sh on Fedora Linux but can easily change shells. How would I
>> scan a directory and all its sub-directories for PDF files larger than 5
>> MB?
>>
>> Thanks, - Dave
>
> If you belive that all pdf files have an extension of ".pdf", then
>
> find start_directory -type f -name '*.pdf' -size +5120 -print
>
> (fill in the correct start_directory, you can use "." for the current
> drectory).
>
and u can use:
find start_directory -type f -iname '*.pdf' -size +5120 -print
if you have *.pdf and/or *.PDF and/or *.Pdf files......
--
Luuk
|