Copying Files from Place to Place
Motivation: I want to be able to easily copy files between Manchester
and SLAC. I also have loads of files at Oxford. Both Manchester and
Oxford prohibit the use of ftp/telnet into their sites, so it's a bit
messy shifting files around. And I'm bored looking the instructions up
every time.
Things to include
- rsync
- from local to remote
- from remote to local
- from remote to remote?
- rcp - details? - Andy?/Alessandra?
- webpage downloads - include must setup permissions - and recommend
unsetting them afterwards
- permissions
- chmod
- ls -l (unix)
- mkdir - default will be setup-dependent
- my "permit" script
Instructions from "using_jonf_software_notes.html"
Once root files were being created, copied across to
/u06/usersdb/jenny/root using command:
kiwi@noric05$ rsync -ravze ssh . jenny@sun1.hep.man.ac.uk:/u06/usersdb/jenny/root/
Output:
jenny@sun1.hep.man.ac.uk's password:
building file list ... done
./
TauQEDalleventsKanga_set1_offpeak-1.root
TauQEDalleventsKanga_set1_onpeak-1.root
<etc...>
Another example:
Copied a file dec00_talk.ps from Manchester to SLAC starting in
the directory on sun1 where the file was, and copying to my
home directory at SLAC with:
rsync -ravze ssh ./dec00_talk.ps kiwi@noric.slac.stanford.edu:~/
Manchester has rsync on sun1, and can also run it
from SLAC, with a command more like:
rsync -ravze ssh
kiwi@noric01.slac.stanford.edu:/the/path/to/the/files/ /u06/usersdb/jenny/root/
Top
Last modified:
|
Copyright © 2000-2001 Jenny Williams
All Rights Reserved
|
Email: jenny@hep.man.ac.uk |