June 2008

The Archives

  • 06.05.08
    Globbing with scp cmd | pfortuny | (0)
    Sometimes you need to use globbing 'at the far end' of an scp command. The simple $ scp me@there.com:* . does not work (obviously), you need some double quotation marks: $ scp me@remote.com:"INBOX.*" . me@remote.com's password: INBOX.Drafts 100% 504 0.5KB/s 00:01 INBOX.Sent 100% 5082 5.0KB/s 00:00 INBOX.Trash 100% 20KB 19.6KB/s 00:00