🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Shell script; mostrar una variable con \ incluidos

#708
From: Pascal Bourguignon
Date: Tue, 19 Sep 2006 08:56
24 lines
2187 bytes
"Marcpp" <marcpp@gmail.com> writes:

> Bones
> He estado probando varias cosas mas, pero sigue sin funcionar.
>
> Una aclaraci�n:
> Tengo el fichero " CopiaLlums 2006-09-09 14;10;08.zip ", para acceder a
> el, por
> ejemplo hacer un... tar -r CopiaLlums\ 2006-09-09\ 14\;10\;08.zip
> tengo que escribir todas las \.

Ah� es tu error.

No tienes que escribir ninguna \ si no estan en el nombre del archivo.
Si tu archivo contiene espacios, solo tienes que escribir espacios:

    tar -r 'CopiaLlums 2006-09-09 14;10;08.zip'


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we. -- Georges W. Bush
Technical Details
Message-ID: <87psdsz13s.fsf@thalassa.informatimago.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1158596404.702350.284910@k70g2000cwa.googlegroups.com> <slrnegu30o.bqa.ppujalARROBA@hola.fou.net> <1158651997.169407.305980@b28g2000cwb.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,e3d2258794e4e7c7
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Pascal Bourguignon <pjb@informatimago.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Shell script; mostrar una variable con \ incluidos
Date: Tue, 19 Sep 2006 10:56:07 +0200
Organization: Informatimago
Lines: 24
Message-ID: <87psdsz13s.fsf@thalassa.informatimago.com>
References: <1158596404.702350.284910@k70g2000cwa.googlegroups.com> <slrnegu30o.bqa.ppujalARROBA@hola.fou.net> <1158651997.169407.305980@b28g2000cwb.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net PZ2u4hAuGEvJ/Ow0AuGcWwidmX+haExC91cy5Ehd3enKRiWX+H
Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA
      oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9
      033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac
      l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR
      mV+hO/VvFAAAAABJRU5ErkJggg==
X-Accept-Language:         fr, es, en
X-Disabled: X-No-Archive: no
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:PyCnSWBaZ/OlWMM2xgIt8VlgW3w=