Re: SCP problem
From: Matt Bostock (matt_at_mattbostock.com)
Date: Tue, 23 Mar 2004 20:55:01 -0000
Ok, here's the full string I used:
scp -r /backups/anotherdirectory
It worked when I cd'ed into /backups/anotherdirectory and typed:
scp -r * firstname.lastname@example.org:/backups/anotherdirectory
It just seems odd that I had to use the second solution; I'm probably
totally overseeing something. Any tips?
Thanks for your help guys.
-- Banging your head against a wall uses 150 calories an hour. "Matt Bostock" <email@example.com> wrote in message news:c3n3cl$2a0fv1$1@ID-203300.news.uni-berlin.de... > Hi, > > I want to copy a directory structure (files included) from one server to > another. I've tried using the -r option but with no luck, I always get: > xxxxxx: No such file or directory > > Where xxxxx is the directory. The directory exists on the local server, but > not on the remote one. I was hoping it'd just create the directory on the > remote server? > > Thanks, > Matt :) > -- > Banging your head against a wall uses 150 calories an hour. > > > > > --- > No viruses found in this message. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.637 / Virus Database: 408 - Release Date: 20/3/04 > > --- No viruses found in this message. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.637 / Virus Database: 408 - Release Date: 20/3/04