Article View: es.comp.os.linux.programacion
Article #5779Re: ¿¿¿como hago esto???
From: Fernando Arbeiza
Date: Thu, 18 Sep 2003 22:26
Date: Thu, 18 Sep 2003 22:26
19 lines
1678 bytes
1678 bytes
On Fri, 19 Sep 2003 00:15:28 +0200, mad_soft <mad_soft@terra.es> wrote:
> Fernando Arbeiza escribi�:
>>
>> xargs --replace cp '{}' /rutadestino < archivo.txt
>>
> pues lo he hecho y me ha copiado algunos archivos solamente
> y luego se ha parado poniendo esto
>
> ---> xargs: unmatched single quote
Ahhhhhh, con s�mbolos especiales. Eso lo hace un poco m�s complicado.
Veamos esto:
sed 's/.*/"&"/' archivo.txt | xargs --replace cp '{}' /rutadestino
Un saludo.
--
Fernando Arbeiza <URL: mailto:arbeizaf@ono.com>
Crea tu propio Linux: <URL: http://www.escomposlinux.org/lfs-es>
Technical Details
Message-ID:
<slrnbmkc91.aam.arbeizaf@jupiter.olimpo.homelinux.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!fu-berlin.de!uni-berlin.de!81-203-248-186.user.ono.COM!not-for-mailReferences:
<bkd86f$fb7i$2@ID-62384.news.uni-berlin.de> <slrnbmk9hf.9f0.arbeizaf@jupiter.olimpo.homelinux.org> <bkdapj$h1ba$3@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:36:23 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!fu-berlin.de!uni-berlin.de!81-203-248-186.user.ono.COM!not-for-mail From: Fernando Arbeiza <arbeizaf@ono.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: ¿¿¿como hago esto??? Date: Fri, 19 Sep 2003 00:26:41 +0200 Lines: 19 Message-ID: <slrnbmkc91.aam.arbeizaf@jupiter.olimpo.homelinux.org> References: <bkd86f$fb7i$2@ID-62384.news.uni-berlin.de> <slrnbmk9hf.9f0.arbeizaf@jupiter.olimpo.homelinux.org> <bkdapj$h1ba$3@ID-62384.news.uni-berlin.de> NNTP-Posting-Host: 81-203-248-186.user.ono.com (81.203.248.186) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 1063924581 577273 81.203.248.186 (16 [148301]) X-Orig-Path: jupiter.olimpo.homelinux.org!news User-Agent: slrn/0.9.7.4 (Linux)