Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

UNIX scp script

  1. Jun 30, 2008 #1
    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?
  2. jcsd
  3. Jun 30, 2008 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

  4. Jul 1, 2008 #3
    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.
  5. Jul 5, 2008 #4
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: UNIX scp script
  1. Freopen() in UNIX (Replies: 1)

  2. Unix Shell Script (Replies: 3)

  3. Unix / scripting help (Replies: 3)