Article View: es.comp.os.linux.programacion
Article #5780Re: ¿¿¿como hago esto???
From: Javi
Date: Thu, 18 Sep 2003 22:43
Date: Thu, 18 Sep 2003 22:43
22 lines
1463 bytes
1463 bytes
Respuesta al mensaje de: mad_soft <mad_soft@terra.es>.
> si que tienen nombres con espacio..
> a ver que hago si tiene espacios
Entonces usa este gui�n:
#v+
#!/bin/bash
ARCHIVO="fichero_con_los_objetivos"
DESTINO="directorio_destino"
while read FICHERO
do
cp "${FICHERO}" "${DESTINO}"
done < "${ARCHIVO}"
#v-
Modifica las variables ARCHIVO y DESTINO.
Saludos.
Technical Details
Message-ID:
<bkdceb$h63q$1@ID-130393.news.uni-berlin.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!pd9524276.dip.t-dialin.NET!not-for-mailReferences:
<bkd86f$fb7i$2@ID-62384.news.uni-berlin.de> <bkd9ge$gqrs$5@ID-130393.news.uni-berlin.de> <bkdaii$h1ba$1@ID-62384.news.uni-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,6512fb4774b7e851 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-09-18 15:43:25 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeeder.edisontel.com!fu-berlin.de!uni-berlin.de!pd9524276.dip.t-dialin.NET!not-for-mail From: "Javi" <not_my@mail.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: ¿¿¿como hago esto??? Date: 18 Sep 2003 22:43:23 GMT Lines: 22 Message-ID: <bkdceb$h63q$1@ID-130393.news.uni-berlin.de> References: <bkd86f$fb7i$2@ID-62384.news.uni-berlin.de> <bkd9ge$gqrs$5@ID-130393.news.uni-berlin.de> <bkdaii$h1ba$1@ID-62384.news.uni-berlin.de> NNTP-Posting-Host: pd9524276.dip.t-dialin.net (217.82.66.118) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1063925003 563322 217.82.66.118 (16 [130393]) User-Agent: slrn/0.9.7.4 (Linux)