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

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

Re: [shell-script] Re: Find


From: MrBiTs
Subject: Re: [shell-script] Re: Find
Date: Tue, 21 Jun 2005 16:01:21 -0300
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)

> Um exemplo seria:
> find /common/mps_bra/dw_mps/Keeper -name "*.log" -mtime +7
> 
> Tentei usar com o -exec no final e também não consegui.

E ai você diz que esse comando, digitado na linha de comando, funciona 
sem problemas e quando chamado a partir de um shell script, não funciona.

Alguma mensagem de erro ? Coloque um set -x logo após o #!/bin/bash ( ou 
similar ) do seu script e veja se existe algum retorno de erro.

[]'s


-- 
"There is still more Unix-nature in one
line of shell script than there is in
ten billion lines of C"
Master Foo - Hsh-bng Province - 530  BC


       \\|||//
       (.) (.)
--ooOO--( )--OOoo--
       MrBiTs
address@hidden
-------------------


[As partes desta mensagem que não continham texto foram removidas]



reply via email to

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