Hello,

I'm trying to arrange via cron for an account with several directories to be
updated overnight. I do not want everything in the account updated - just
some of the directories. However, I can't seem to see how I can specify in
one go to copy more than one directory to the remote account. I thought
initially of:

   rsync -e ssh -aq tables/ data/ eros:         (eros is the remote host)

but this just copies the directory contents into the home directory of the
remote account. I cannot seem to specify:

   rsync -e ssh -aq tables/ eros:tables data/ eros:data

so that the contents of each directory is copied into the relevant remote
directory. Is this possible? The man page for rsync seems to indicate that
only one remote directory can be specified at a time.

Thanks,

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
PGP key available from public key servers

Reply via email to