Re: using scp to move files
I recently migrated about 100GB of user accounts from one Solaris machine
I had better success of using rsync over ssh, see man file there is a
couple of useful examples at the end.
On Tue, 26 Oct 2004, diego wrote:
> I bet the issue is already solved, but I just read the thread and wanted
> to give my 2 cents ;-)
> I searched for the move option in scp not few moths ago and I read
> somewhere (googling around) that scp -u did this, **if you had ssh v2**.
> But if you still have v1 ... you'd better simulate it as described in
> this thread or better upgrade to ssh v2.
> Hope this helps anyone.
> El lun, 04-10-2004 a las 19:34, Pete Conkin escribiѓ:
> > From: "Kamaraju Kusumanchi" <email@example.com>
> > > I need to move some files from a server to client. I am planning to
> > > use scp for this. Using scp, I can only copy the files. But I want to
> > > move the files instead of copying them. Any ideas? The manual of scp
> > > does not have any option for this.
> > >
> > > Are there any other programs which achieve the same result?
> > The scp program from SSH.com's package supports this via the -u option
> > which will remove source files after copying them.
> > Pete
> > >
> > > thanks
> > > raju
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> > firstname.lastname@example.org
> > >
> > >
phone: +61 2 9351 2031
fax: +61 2 9351 0184
mobile_phone: +61 402 173 179
School of Geosciences
F05 - Edgeworth David Building
The University of Sydney
NSW 2006 Australia
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the
subject of copyright or other proprietary rights in favour of the
University of Sydney, its affiliates or third parties. This email is
intended only for the named addressee. Any privacy, confidence,
copyright or other proprietary rights in favour of University of Sydney,
its affiliates or third parties, is not lost because this email was sent
to you by mistake.
If you received this email by mistake you should: (i) not copy,
disclose, distribute or otherwise use it, or its contents, without the
consent of University of Sydney or the owner of the relevant rights;
(ii) let us know of the mistake by reply email or by telephone (+61 2
9351 2031); and (iii) delete it from your system and destroy all copies.
Any personal information contained in this email must be handled in
accordance with applicable privacy laws.
Electronic and INTERNET communications can be interfered with or
affected by viruses and other defects. As a result, such communications
may not be successfully received or, if received, may cause interference
with the integrity of receiving, processing or related systems
(including hardware, software and data or information on, or using, that
hardware or software). University of Sydney gives no assurances in
relation to these matters.
If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61 2 9351 2031