How To - Import                                                                        Kenji Hamano

Last modified : Feb01, 2005                                              Back to How To      Back to Home


To move skims from one disk to another disk on mercury, it's better to use "babarpro" account.
      > ssh -l babarpro mercury.uvic.ca
   And login to storage machine.
      > ssh -l babarpro host3.storage.uvic.ca

Supposing you want to move your skims
   from /home1x/OtherMounts/hep03/khamano/Skim_BToDlnu/store/khamano
   to /home1x/OtherMounts/hep10/babar/store/khamano

Use "rsync" command
      > rsync -avuz --safe-links [--delete] --rsh=ssh /home1x/OtherMounts/hep03/khamano/Skim_BToDlnu/store/khamano /home1x/OtherMounts/hep10/babar/store

If you already have an old version of a file in your destination, this --delete option will remove the old file and replace it to a new one.