[TriLUG] SCP & CP Weirdness
Barry Gaskins
barry.gaskins at gmail.com
Fri Jan 6 12:40:04 EST 2006
Maybe cp copies files until it gets an error trying to copy one of them
and then it stops. Then every file or directory of files that would have
been copied after that would not even be attempted.
I am just guessing but it would make sense.
- Barry Gaskins
On 1/6/06, Mark Freeze <mfreeze at gmail.com> wrote:
>
> I am recovering data from a crashed windows drive formatted with ntfs. I
> have the drive in an external enclosure and it is connected at
> /media/usbdisk. There are all kinds of bad sectors and messed up files on
> this drive and I have been getting data from it for the past few days but
> I
> have run into a strange situation when copying files and I wanted to see
> if
> anyone had heard of this before...
>
> I've connected the external drive to my laptop and scp'd files over to my
> server and I've connected the drive straight to my server and just cp'd
> the
> files. Everything seemed to be working until I tried to copy a large
> (~30GB) directory over. Unlike the other stuff I have copied from the
> drive
> this is a directory of directories of directories of files. The other
> things
> I copied had no subdir's. I did scp -r to get all of the subdirectories
> but
> it only copied maybe 5 out of 60. I thought it may have been because I
> was
> scp'ing over a wireless laptop connection and it might be timing out so I
> connected directly to the server and got the same result. The strange
> part
> is that I can cd directly to these subdir's and cp the files manually.
>
> Does anyone have any idea why cp would only get some subdir's and not
> others?
>
> Thanks,
> Mark.
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>
More information about the TriLUG
mailing list