🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Luis H. Cifuentes Lobos Thu, 11 Mar 1999 00:00
Ayuda con Archivos
#112
Author: Luis H. Cifuentes Lobos
Date: Thu, 11 Mar 1999 00:00
10 lines
733 bytes

	hola, , para cualquier entendido en la materia.

Como puedo cambiar rapidamente de 500 archivos
un padron por otro.

Obvio en ambiente Unix.

respuestas por este medio. Gracias.
Re: Ayuda con Archivos
#113
Author: Alvaro Navarro
Date: Thu, 11 Mar 1999 00:00
15 lines
973 bytes
Luis H. Cifuentes Lobos <lucifuen@anakena.dcc.uchile.cl> wrote:

: Como puedo cambiar rapidamente de 500 archivos
: un padron por otro.

#!/bin/sh

for a in `ls -1`
do
  sed 's/patron1/patron2/g' $a > aux
  mv aux $a
done


-alv-
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads