RE: files with a colon?
From: Steve Dimoff (sdimoff_at_usnetworksinc.com)
To: 'Matt Richard' <email@example.com>, firstname.lastname@example.org Date: Wed, 14 Apr 2004 15:48:44 -0400
How about these:
scp ldap3.example.org* email@example.com:/
if that doesn't work, what about:
scp ldap3.example.org?0.rej firstname.lastname@example.org:/
Those work for me...
From: Matt Richard [mailto:email@example.com]
Sent: Wednesday, April 14, 2004 5:27 AM
Subject: files with a colon?
Alright, surely someone has asked this before! But I cannot find a
reference to help me.
How do I use scp to copy a file with a colon in the filename?
Specifically I'm looking at OpenLDAP's rejection log files.
I've tried single and double quotes, and even backslash - colon,
which often works on Mac OSX. But nothing works!
the filename is ldap3.example.org:0.rej
When I do "scp ldap3.example.org:0.rej firstname.lastname@example.org:~/", scp
asks me for the password on ldap3 instead of the password on matt.
The same thing happens if I do "scp *.rej email@example.com:~/".
I know I could modify the openldap code to use a different character,
but that doesn't help me with stock servers.
-- Matt Richard Access and Security Coordinator Franklin & Marshall College firstname.lastname@example.org