SCP file corruptions
Matt Studley
mjs at ams.org
Tue May 7 03:13:35 EST 2002
What options did you use with scp and what was the exact error message?
Generally, at least in my experience, scp will not copy over a file when
the 'source' and 'destination' are identical when doing a local copy:
$ scp test test
cp: test and test are identical
when doing a remote copy, you will overwrite the remote file but that is
a different situation and should not corrupt the file.
Matt Studley
American Mathematical Society
UNIX Sys Admin "Quantum Mechanics -
mjs at ams.org The dreams that stuff is made of"
On Mon, 6 May 2002, GATHMAN,DON (HP-Boise,ex1) wrote:
> Hi,
>
> I apparently was asleep at the wheel using scp, and accidentally copied a
> file onto itself. Scp generated an Input/Output error and did not perform
> the copy. However, now the file is corrupt. Is this a but? Is there anyway
> to fix the file I messed up?
>
> Thanks,
> Don Gathman
> 208.396.6675
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list