Globbing with scp

Todd Zullinger tmz at pobox.com
Tue May 26 23:43:25 UTC 2009


Suvayu Ali wrote:
> scp -r user at host:~/.emacs* .
>
> This copied over all my emacs related stuff from the remote machine
> to my present working directory without any hicups. The directory
> structures were also preserved, and I didn't need to escape the '*'.

You would have if you already had ~/.emacs* files present (at least,
if you had files/folders that matched the ~/.emacs* glob differently
on the localhost than you did on the remote).

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Going to hell when I die would just be redundant.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090526/4e7f3593/attachment-0001.sig>


More information about the fedora-list mailing list