[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] filsortering



Sun, Sep 19, 1999 at 07:31:51PM +0200, Frank Damgaard skrev:
> Niels Rasmussen wrote:
> 
> > Men hvordan får jeg filtreret hvilken filtype den skal finde i den
> > angivne størrelse ?
> > I dette tilfælde er det .txt-filer over 250k !
> > 
> > Jeg skal bruge det i et Bash-script.
> > 
> > Er det noget i retning af:
> > 
> > find . -type *.txt -size +250k -exec mv {} /home/niels/tekster \;
> > 
> > Som jeg har forstået det kan "find" finde disse filer rekursivt, er det
> > korrekt opfattet ??
> 
> Nej, type er en anden type som er beregnet til "filtype" (block, char,...)
> prøv at læse manualen til find og -type.
> 
> Det du vil er sikkert (husk \* og ikke kun *):
> 
> find . -name \*.txt -size +250k ......
> 

Alletiders !!!

Tak for hjælpen gutter :-)

-- 
/Niels

----------------------------------------------------------------
echo "This message is brought to you from a standalone machine"
----------------------------------------------------------------
Niels Rasmussen			| "To do is to be" -- Plato
sslug@sslug		| "To be is to do" -- Kant 
Registred Linux user #133791	| "Do be do be do" -- Sinatra
----------------------------------------------------------------
"When the world seems to be too colored, just go to the console"


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:57 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *