[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]-------------------------------------------Inicio-------------------------- #!/bin/bash for archivo in `find . -type f -name "*.htm"` do base=`basename $archivo .htm` sed 's/.htm/.html/g' $archivo >$base.html rm $file done --------------------------------------------fin---------------------------- Cambia: rm $file por: rm $archivo mil disculpas. Saludos -- Johnny Gonzalez Dominguez Ingenieria de Software Telecable Morelos Cuernavaca, Morelos, Mexico. Tel. (52)(777)3292475 johnny en cableonline com mx johnny_40000 en yahoo com MSN johnny_40000 en hotmail com