Background

The rsync program is a convenient utility for copying data from the instrument host to your laptop or to a remote machine. You can either pull or push data as explained below.

What Keck computers should you use?

Procedures

Pulling to your computer from Keck

This method is appropriate for use on laptops.

Pushing data from Keck to your computer

This method works best when transferring data to a machine at a remote site, when it would be tedious to log into the remote machine and then gain access through the Keck firewall.

Examples

  1. Pull data from directory /s/sdata703/esi1/2011jan01 at Keck to the current directory on your laptop computer by issuing this command on the laptop (assuming the laptop is connected to visitor wireless at Keck):
    rsync -avz esi1@sshserver4.keck.hawaii.edu:/s/sdata703/esi1/2011jan01 .
  2. Pull data from directory /s/sdata1001/deimos1/2011jan01 at Keck to directory ~/deimos_data on remote machine foobar.ucolick.org by issuing this command on the remote machine (after gain access through Keck firewall):
    rsync -avz deimos1@sshserver4.keck.hawaii.edu:/s/sdata1001/deimos1/2011jan01 ~/deimos_data
  3. Push data from directory /s/sdata1001/deimos1/2011jan01 at Keck to directory ~/deimos_data on remote machine foobar.ucolick.org by logging into sshserver4 as deimos1 and issuing this command:
    rsync -avz /s/sdata1001/deimos1/2011jan01 wiseguy@foobar.ucolick.org:~/deimos_data

Notes