🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #932

Re: bucle en bash

#932
From: Luis Angel Fdez. Fdez.
Date: Thu, 17 Aug 2006 16:14
25 lines
1691 bytes
icue <no_vale@teleline.es> escribi�:
> Quiero hacer algo como esto con BASH y no he encontrado un ejemplo.
> 
> 
> foreach fichero enEsteDirectorio {
> 
> micomando  cadaFichero ;
> }
> 

  A mi se me ocurre:

  for i in `ls directorio`; do micomando $i; done

> Quiero a�adir una marca de agua a todas las imagenes de un directorio. 

  Esto ya no se como se hace :)

  Ta llueu.

-- 
Ubuntu 6.06 (dapper) (kernel 2.6.15-26-amd64-generic x86_64) 
AMD Athlon(tm) 64 Processor 3200+ (2200.149 MHz) up 8 days, 6:58
HT: C.D. Arrancatapinos (488047) VI.759 # http://muxin.no-ip.org/
SK: C.D. Arrancatapinos (18088) IV.57   # http://muxin.yi.org/
Technical Details
Message-ID: <28her3-h4o.ln1@cascoxu.koxo.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!not-for-mail
References: <ec22aj$p35$1@negre.bartolo>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,3fe53859c8a281d3
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.antakira.com!antonio.escomposlinux.org!escomposlinux.org!not-for-mail
From: "Luis Angel Fdez. Fdez." <laffdez@gmail.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: bucle en bash
Date: Thu, 17 Aug 2006 18:14:26 +0200
Organization: Servidor de noticias de la red Ecolnet
Lines: 25
Message-ID: <28her3-h4o.ln1@cascoxu.koxo.net>
References: <ec22aj$p35$1@negre.bartolo>
NNTP-Posting-Host: 178.red-80-34-249.staticip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: antonio.escomposlinux.org 1155831989 16799 80.34.249.178 (17 Aug 2006 16:26:29 GMT)
X-Complaints-To: newsmaster@antonio.escomposlinux.org
NNTP-Posting-Date: Thu, 17 Aug 2006 16:26:29 +0000 (UTC)
User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (Linux/2.6.15-26-amd64-generic (x86_64))