RES: [FUGSPBR] Mostrar arquivos modificados por data

Edson Brandi Edson.Brandi em corp.ibest.com.br
Sex Dez 20 18:08:27 BRST 2002


Ola

use o find com as opções -atime ou -ctime

Edson

 -atime n[smhdw]
             If no units are specified, this primary evaluates to true if
the
             difference between the file last access time and the time find
             was started, rounded up to the next full 24-hour period, is n
             24-hour periods.

             If units are specified, this primary evaluates to true if the
             difference between the file last access time and the time find
             was started is exactly n units.  Possible time units are as
fol-
             lows:

             s       second
             m       minute (60 seconds)
             h       hour (60 minutes)
             d       day (24 hours)
             w       week (7 days)

             Any number of units may be combined in one -atime argument, for
             example, ``-atime -1h30m''.  Units are probably only useful
when
             used in conjunction with the + or - modifier.

     -ctime n[smhdw]
             If no units are specified, this primary evaluates to true if
the
             difference between the time of last change of file status
infor-
             mation and the time find was started, rounded up to the next
full
             24-hour period, is n 24-hour periods.

             If units are specified, this primary evaluates to true if the
             difference between the time of last change of file status
infor-
             mation and the time find was started is exactly n units.
Please
             refer to the -atime primary description for information on sup-
             ported time units.



-----Mensagem original-----
De: Pêpe Ramazzot [mailto:alt13n em ieg.com.br]
Enviada em: sexta-feira, 20 de dezembro de 2002 15:54
Para: fugspbr em fugspbr.org
Assunto: [FUGSPBR] Mostrar arquivos modificados por data


Alo galera...

alguem sabe um comando pra eu pegar só os arquivos alterados hoje?

eu tentei, por exemplo ' ls -la | grep 20 | grep Dec ' mas nao deu mto
certo...

mesmo assim, a ideia seria obter um arquivo com a saida do ls puro (só os
nomes dos arquivos, mais nada) e com essas propriedades...
alguem tem uma dica?

Obrigado
Fabio


---
Mensagem enviada foi verificada e certificada - Livre de vírus.[AVG 6.0]
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 17/12/02

_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd