PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Downloading files from the zoo
Date: Monday, 21 Sep 2020, 06:48:55


    > Message Posted By: Unknown
    >
    > when i try to download my code from the zoo like this:
    >
    >  scp [my netID]@node.zoo.cs.yale.edu:~/cs323/hw1/\{fiend.c, makefile\},
    >
    > the brace keeps expanding into the password prompt that follows the command, and I get blocked. Is there a better way to download files from the zoo?

First, bash replaces ~ by your userid on your local
computer, which may not be the same as your netID.  To
prevent this, enclose the argument in single quotes.

Second, as far as I know scp does not accept lists of
filenames in braces.

--Stan-
PREV INDEX NEXT