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

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

Re: [shell-script] Procurar Data do Arquivo


From: Jose NIEVIADONSKI
Subject: Re: [shell-script] Procurar Data do Arquivo
Date: Fri, 18 Oct 2002 12:55:11 -0300

Oi.
   Se voce somente precisa da data tal qual aparece no comando ls -l, aqui
vai o comando

ls -l  $(grep -l "Transfer complete" arq*) | tr -s " " | cut -d" " -f 6-8

José Augusto Martins Nieviadonski
Analista de Suporte Consultor
HSBC Bank Brasil S.A. Banco Multiplo
Treinamento de Informática

      Para: address@hidden
      cc:
      cco:  Jose NIEVIADONSKI/HBBR/HSBC
      Assunto:    [shell-script] Procurar Data do Arquivo
"teste_alert" <address@hidden>

18/10/2002 11:18 AM
Favor responder a shell-script            <font size=-1></font>


   Não tenho experiência em shell-script e estou precisando de uma
ajudinha:

   Dei um grep numa lista de arquivos procurando a string Transfer
Complete, para os arquivos que contiver essa informação eu preciso
recuperar a data em que este arquivo foi gerado.

Muiiittttoooooo Obrigado
Helder Costa Amaral





The information contained in this e-mail is confidential. It may also be legally
privileged. If you are not the addressee you may not copy, forward, disclose
or use any part of it. If you have received this message in error, please 
delete it
and all copies from your system and notify the sender immediately by return 
e-mail.
E-mail communications cannot be guaranteed to be timely secure, error or 
virus-free.
The sender does not accept liability for any errors or omissions which arise as 
a result.



reply via email to

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