Copying Files from Mac OS Desktop to Password Protected Cluster

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 10K views
hoffmann
Messages
65
Reaction score
0
how exactly would i go about writing a UNIX script that copies files from my Mac OS Desktop to a folder in another computer cluster? i'd need to scp the files from my desktop to the folder, but the cluster is password protected. any help?
 
Physics news on Phys.org
If you're looking to transfer files one time only, scp is your best bet. If you're regularly going to transfer files in this way (for instance, you may want to back up your work to another computer over the network, or perhaps you want to copy from your Mac to a server so that the work is available to other users) then I'd use rsync.