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

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

Re: [shell-script] Erro no find


From: Aurelio Marinho Jargas
Subject: Re: [shell-script] Erro no find
Date: Fri, 19 Mar 2004 18:13:00 -0300 (ART)

oi leonardo,

> find: bad option arq_201202.txt
> find: path-list predicate-list
> 
> O comando que estou usando é find /scripts/text/ -name arq*.txt

você tem que proteger o * pois senão o shell expande ele para
os nomes dos arquivos.

    find /scripts/text/ -name arq\*.txt
    
ou

    find /scripts/text/ -name 'arq*.txt'

falou!

=====
-- 
Aurelio Marinho Jargas - De volta para Curitiba & Conectiva
Apostila Reloaded: PDF - http://aurelio.net/shell/apostila
palestra.sucesu.relato - http://aurelio.net/curso/sucesu
Funcoes ZZ via ICQ!!?! - http://aurelio.net/zz

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


reply via email to

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