shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] FIND -EXEC


From: Aurelio Marinho Jargas
Subject: Re: [shell-script] FIND -EXEC
Date: Thu, 29 Jan 2004 08:17:56 -0300 (ART)

oi andré,

 --- André_Silva_Coelho_de_Oliveira <address@hidden>
> locate AGENCIAMENTO | find -exec chmod ugo+x {}\;
> 
> find: faltando argumento para `-exec'

o único problema do teu comando é que DEVE haver um espaço 
em branco entre o {} e o \;

veja:

  $ find /etc/passwd -exec echo {} \;
  /etc/passwd
 
  $ find /etc/passwd -exec echo {}\;
  find: missing argument to `-exec'


só isso :)



=====
-- 
Aurelio Marinho Jargas - De volta para Curitiba & Conectiva
RAC! RAC! RAC! http://aurelio.net/rac
II SDSL visto pela lente verde http://aurelio.net/curso/IIsdsl

______________________________________________________________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]