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

Ing. Fernando M. Villares Terán lugro@lugro.org.ar
Sat, 17 Feb 2007 12:03:09 -0300


En esos casos raros cuando yo no se como bajarlos les mando a lo bestia un
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ábado, 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