[LUG.ro] "-" y consolas (duda)

Alberto Jorge Cushnir lugro@lugro.org.ar
Mon, 19 Feb 2007 09:25:26 -0300


------=_Part_28862_14539570.1171887926676
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hola,

Probaste de anteponer un back-slash al guion?

Ej.:

ncftp ...ldonkey/incoming/files > get "\-Natalie Cole - Leavin (2006)
(Soul).rar"

Saludos


El d=EDa 17/02/07, Ing. Fernando M. Villares Ter=E1n <fmvillares@ciudad.com=
.ar>
escribi=F3:
>
> En esos casos raros cuando yo no se como bajarlos les mando a lo bestia u=
n
> mget * y le digo que si solo al archivo que busca, aunque no es lo ideal
> me
> sirve
>
> Sobre todo con esos mugre servidores de Windows y con files con acentos y
> espacios en el nombre
>
> saludos
> -----Mensaje original-----
> De: lugro-admin@lugro.org.ar [mailto:lugro-admin@lugro.org.ar] En nombre
> de
> Angel Aranciba
> Enviado el: S=E1bado, 17 de Febrero de 2007 11:36
> Para: lugro@lugro.org.ar
> Asunto: [LUG.ro] "-" y consolas (duda)
>
> Buen dia, estoy teniendo un problema .... como trato a archivos que
> empiezan con un molesto "-". (en consola ... sea ssh, ncftp, ftp ...
> etc).
>
> ya probe con "\", con comillas ... pero nada ... me sigue tirando
> error de opcion de comando invalido...
>
> Ejemplo sobre ncftp:
>
> ncftp ...ldonkey/incoming/files > get "-Natalie Cole - Leavin (2006)
> (Soul).rar"
> Usage: get [-flags] file1 [file2...]
> Flags:
>   -R   : Recursive.  Useful for fetching whole directories.
>   -z   : Get the remote file file1, and name it to file2.
>   -a   : Get files using ASCII mode.
>   -A   : Append entire remote file to the local file.
>   -f   : Force overwrite (do not try to auto-resume transfers).
> Examples:
>   get README
>   get README.*
>   get "**Name with stars and spaces in it**"
>   get -R new-files-directory
>   get -z WIN.INI ~/junk/windows-init-file
>
>
> Saludos y gracias
>
> --
> -----
> Angel Arancibia
>
> GNU/Linux User Registered #358969
> http://counter.li.org/
>
> ICQ: 327093745
> MSN: angel.arancibia@gmail.com
> -------------------------------
>
> "Computer science is no more about computers than astronomy is about
> telescopes." - Edsger W. Dijkstra
>
> "There are only 10 types of people in the world: Those who understand
> binary, and those who don't"
> _______________________________________________
> Lugro mailing list
> Lugro@lugro.org.ar
> http://www.lugro.org.ar/mailman/listinfo/lugro
>
>
>
> _______________________________________________
> Lugro mailing list
> Lugro@lugro.org.ar
> http://www.lugro.org.ar/mailman/listinfo/lugro
>

------=_Part_28862_14539570.1171887926676
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hola,<br><br>Probaste de anteponer un back-slash al guion?<br><br>Ej.:<br><=
br>ncftp ...ldonkey/incoming/files &gt; get &quot;\-Natalie Cole - Leavin (=
2006) (Soul).rar&quot;<br><br>Saludos<br><br><br><div><span class=3D"gmail_=
quote">
El d=EDa 17/02/07, <b class=3D"gmail_sendername">Ing. Fernando M. Villares =
Ter=E1n</b> &lt;<a href=3D"mailto:fmvillares@ciudad.com.ar">fmvillares@ciud=
ad.com.ar</a>&gt; escribi=F3:</span><blockquote class=3D"gmail_quote" style=
=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; p=
adding-left: 1ex;">
En esos casos raros cuando yo no se como bajarlos les mando a lo bestia un<=
br>mget * y le digo que si solo al archivo que busca, aunque no es lo ideal=
 me<br>sirve<br><br>Sobre todo con esos mugre servidores de Windows y con f=
iles con acentos y
<br>espacios en el nombre<br><br>saludos<br>-----Mensaje original-----<br>D=
e: <a href=3D"mailto:lugro-admin@lugro.org.ar">lugro-admin@lugro.org.ar</a>=
 [mailto:<a href=3D"mailto:lugro-admin@lugro.org.ar">lugro-admin@lugro.org.=
ar
</a>] En nombre de<br>Angel Aranciba<br>Enviado el: S=E1bado, 17 de Febrero=
 de 2007 11:36<br>Para: <a href=3D"mailto:lugro@lugro.org.ar">lugro@lugro.o=
rg.ar</a><br>Asunto: [LUG.ro] &quot;-&quot; y consolas (duda)<br><br>Buen d=
ia, estoy teniendo un problema .... como trato a archivos que
<br>empiezan con un molesto &quot;-&quot;. (en consola ... sea ssh, ncftp, =
ftp ...<br>etc).<br><br>ya probe con &quot;\&quot;, con comillas ... pero n=
ada ... me sigue tirando<br>error de opcion de comando invalido...<br><br>
Ejemplo sobre ncftp:<br><br>ncftp ...ldonkey/incoming/files &gt; get &quot;=
-Natalie Cole - Leavin (2006)<br>(Soul).rar&quot;<br>Usage: get [-flags] fi=
le1 [file2...]<br>Flags:<br>&nbsp;&nbsp;-R&nbsp;&nbsp; : Recursive.&nbsp;&n=
bsp;Useful for fetching whole directories.
<br>&nbsp;&nbsp;-z&nbsp;&nbsp; : Get the remote file file1, and name it to =
file2.<br>&nbsp;&nbsp;-a&nbsp;&nbsp; : Get files using ASCII mode.<br>&nbsp=
;&nbsp;-A&nbsp;&nbsp; : Append entire remote file to the local file.<br>&nb=
sp;&nbsp;-f&nbsp;&nbsp; : Force overwrite (do not try to auto-resume transf=
ers).
<br>Examples:<br>&nbsp;&nbsp;get README<br>&nbsp;&nbsp;get README.*<br>&nbs=
p;&nbsp;get &quot;**Name with stars and spaces in it**&quot;<br>&nbsp;&nbsp=
;get -R new-files-directory<br>&nbsp;&nbsp;get -z WIN.INI ~/junk/windows-in=
it-file<br><br><br>Saludos y gracias<br><br>--
<br>-----<br>Angel Arancibia<br><br>GNU/Linux User Registered #358969<br><a=
 href=3D"http://counter.li.org/">http://counter.li.org/</a><br><br>ICQ: 327=
093745<br>MSN: <a href=3D"mailto:angel.arancibia@gmail.com">angel.arancibia=
@gmail.com
</a><br>-------------------------------<br><br>&quot;Computer science is no=
 more about computers than astronomy is about<br>telescopes.&quot; - Edsger=
 W. Dijkstra<br><br>&quot;There are only 10 types of people in the world: T=
hose who understand
<br>binary, and those who don&#39;t&quot;<br>______________________________=
_________________<br>Lugro mailing list<br><a href=3D"mailto:Lugro@lugro.or=
g.ar">Lugro@lugro.org.ar</a><br><a href=3D"http://www.lugro.org.ar/mailman/=
listinfo/lugro">
http://www.lugro.org.ar/mailman/listinfo/lugro</a><br><br><br><br>_________=
______________________________________<br>Lugro mailing list<br><a href=3D"=
mailto:Lugro@lugro.org.ar">Lugro@lugro.org.ar</a><br><a href=3D"http://www.=
lugro.org.ar/mailman/listinfo/lugro">
http://www.lugro.org.ar/mailman/listinfo/lugro</a><br></blockquote></div><b=
r>

------=_Part_28862_14539570.1171887926676--