Subject: Re: CS107 & Linux
From: [email-masked] (Mark Ferguson)
To: [email-masked]
Date: 2 Apr 2000 11:07:18 -0700
Newsgroups: su.computers.linux

Brian Palmer  <[email-masked]> writes:
>Daniel Wright <[email-masked]> writes:
>
>> Ok, there are two options for moving your files between your linux
>> machine and your leland account (where they need to be when you submit
>> them). You can install afs (download and install the rpms on
>> linux.stanford.edu) of use ftp (ncftp :) to copy the whole directory
>> between them (ftp to transfer.stanford.edu). 
>
>Far better is to enable kerberos and use a kerberized transfer
>protocol (e.g., rcp), or use scp to transfer the files. FTP has the
>traditional problem of sending passwords in the clear.

I prefer rsync tunneled through ssh -- great for
moving whole directory structures around, and rsync
is a very flexible tool for the job.

I use a makefile like this:

# Begin Makefile
put: clean
        rsync -avz -e ssh . [email-masked]:"~/Thesis/Tex/"

get:
        rsync -avz -e ssh [email-masked]:"~/Thesis/Tex/" .

sync: put get
# End Makefile

....this helps me keep my TeX files synced between
my home box and my leland filespace.  Check the man
page for rsync for more examples (the exclude-from
option is quite handy for syncing programming
projects) -- just be sure to use "-e ssh" to get SSH
tunnelling.

-- 
Mark Ferguson <[email-masked]>