man find would tell you that:

-type f  =  show only files (not directories)
-printf  =  custom output format
%s       =  file size
\t       =  tab
:        =  colon
%p       =  file with path
\n       =  newline

and the grep command:
^        =  start searching for string at beginnin of a line
[456]    =  match any of the numbers
[0-9]    =  match any number

etc...



On Fri, 2 Nov 2001 11:01:49 -0400
"Julio Rodriguez" <[EMAIL PROTECTED]> wrote:

> Would be much trouble if I ask you what does mean all the simbols thing on
> the command:?
> 
> find . -type f -printf "%s:\t%p\n" | grep "^[456][0-9][0-9][0-9]:"
> 
> ----- Original Message -----
> From: "Alan W Jurgensen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 02, 2001 11:00 AM
> Subject: Re: [expert] Find
> 
> 
> > hi Julio,
> >
> > Not sure if "find" can do it on it's own... but in UNIX, no tool is on
> it's own!  This will work:
> >
> > find . -type f -printf "%s:\t%p\n" | grep "^[456][0-9][0-9][0-9]:"
> >
> > good luck.
> >
> > On Fri, 2 Nov 2001 09:03:44 -0400
> > "Julio Rodriguez" <[EMAIL PROTECTED]> wrote:
> >
> > > Hi everyone...
> > >
> > > Im trying to list only the files that that have a size between 4000 and
> > > 6000...
> > >
> > >  I have no idea of how to do it!..
> > >
> > > I read the find man and only see something like this:
> > >
> > > find -size +4000
> > > or
> > > find -size -6000
> > >
> > > How do I connect that two commands to search files between that sizes?
> > >
> > > txs...
> > >
> > > Julio Rodr�guez
> > > [EMAIL PROTECTED]
> > > Cel: 58 412 70 10 580
> > > Charter Communications International Venezuela
> > > Tel: 58-212-576.60.80
> > >
> > >
> > >
> >
> >
> >
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > Want to buy your Pack or Services from MandrakeSoft?
> > Go to http://www.mandrakestore.com
> >
> 
> 
> 


-- 

----------------------------------------------------------------------
Alan W. Jurgensen - Berbee Information Networks - [EMAIL PROTECTED] 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to