[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
- Erro no find, Leonardo Ayres, 2004/03/19
- Re: [shell-script] Erro no find,
Aurelio Marinho Jargas <=