PREV INDEX NEXT

Author: Emma
Subject: Re: midterm.pdf
Date: Tuesday, 24 Mar 2020, 17:14:54

To copy a file from the Zoo to a Mac computer, you can use scp, which is built-in. After retrieving the midterm.pdf on the Zoo, run the following Terminal command from a command prompt on your local computer (NOT ssh'd into the Zoo):
scp netID@node.zoo.cs.yale.edu:/path/on/zoo/to/midterm.pdf /local/path/to/destination/
**Before running the command, replace the netID and the zoo path and local path with your own information. The Zoo path might be something like ~/cs223/midterm.pdf. The local destination path refers to what folder you want the midterm to go to on your own computer. If you run the command from the desired destination folder, just type . as the path.

You can do a similar thing on Windows with pscp after downloading Putty. This is a good resource with instructions: https://it.cornell.edu/managed-servers/transfer-files-using-putty. Its example command is copying from your computer to the cluster, so you'll want to instead follow my instructions above for doing the reverse, replacing scp with pscp and using a Windows-style path for the local destination path.

Disclaimer: I do not use Windows regularly, so if anyone else knows a better way, please chime in.
PREV INDEX NEXT