[Fedora-users-br] Listar os ultimos arquivos alterados
Edson Olivio
edsongnu em yahoo.com.br
Qua Out 25 20:43:07 UTC 2006
Felipe,
eu não pensei no comando find =]
Obrigado pela ajuda !!
--- Felipe Tocchetto <felipe em tocchetto.com> escreveu:
> Oi Edson
>
> Não sei se isto ajuda, mas de uma olhada no comando find, mais
> especificamente no parametro -mtime
>
> -mtime n[smhdw]
> If no units are specified, this primary evaluates to true if the
> difference between the file last modification 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 modification time and the time
> find was started is exactly n units. Please refer to the -atime
> primary description for information on supported time units.
>
> Eu uso para limpar a "lixeira" do Samba:
>
> find /home/data/.recycle/ -type f -mtime 15 -exec rm -rf {} \;
>
> Mais de 15 dias ele deleta.
>
> Em 25/10/06, Edson Olivio<edsongnu em yahoo.com.br> escreveu:
> > Por favor,
> >
> > Gostaria de saber se existe uma maneira de listar somente os arquivos que
> > foram alterados nos ultimos 5 dias
> >
> >
> > Desde já agradeço pela atenção da lista !!
> >
> > Obrigado !!
> >
> > ________________________________
> > Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
> > --
> > Fedora-users-br mailing list
> > Fedora-users-br em redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-users-br
> >
> >
> >
>
>
> --
> Felipe L. Tocchetto
> http://felipe.tocchetto.com
>
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-users-br
>
_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/
Mais detalhes sobre a lista de discussão Fedora-users-br