[K12OSN] Help! 280gigs of one student folder copied recursively into inself

Darryl Palmer dpalmerjr at gmail.com
Mon Sep 25 19:37:20 UTC 2006


On 9/25/06, Jim Christiansen <christiansen_j at hotmail.com> wrote:
>
> I don't know how this happenned, but I started an scp job of my student
> homes from the old server across to the new server and walked away.  Today
> I
> have found that the 8 gigs of data has grown to fill the entire 320 gig
> drive, most of it being one student's directory recursively copied into
> itself...



Be very careful with scp, it is very primative.  SCP will follow links, so
if you have a link to a parent directory it will infinately nest.  That is
one reason doing a scp -r of / will hose up your backup site.


Take a look at using tar or rsync instead at:
http://happygiraffe.net/copy-net

Darryl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20060925/628893fe/attachment.htm>


More information about the K12OSN mailing list