On Wed, Jan 22, 2003 at 12:53:14PM -0200, Bathun Ramazzot wrote:
> Ricardo Campos Passanezi wrote:
> 
> >(...)
> >Como "script", pode colocar na crontab:
> >
> ># find /home -type f -prune -name "INBOXTrash" -exec /bin/cp /dev/null {} 
> >\;
> >
> >
> >Obs: man find, para mais detalhes.
> >
> > 
> >
> Opa!
> 
> em algum lugar eu vi uma forma de fazer isso usando o pipe ( | )
> algo do tipo
> 
> find -ctime 1 | rm -f

# find . -type f -ctime +1 
./2C02.dmp
./1E35.dmp
./1EEF.dmp
# find . -type f -ctime +1 | xargs rm
# find . -type f -ctime +1 
#

-- 
Ricardo Campos Passanezi -  Administrador de Rede
Chave PGP e GPG P�blica em: http://www.ige.unicamp.br/~riccp
Instituto de Geoci�ncias -  http://www.ige.unicamp.br - UNICAMP
_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/

Responder a