var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
copy a folder from one server to anoter!
CAn anyone tell me how would i copy the entire contents of one folder from one server to anotehr plz?
on one of ma server i got a folder with a load of fiels in there excess of a couple of gig
i just wanna Copy that folder over using wget to the new server
can anyone tell me how
just a subfolder
Or you can pack them and scp over
Last edited by YUPAPA; 11-06-2006 at 06:53 PM.
tar czfp yourDIR.tgz yourDIR
scp yourDIR.tgz [email protected]:~username/
go with rsync over ssh - saves you using the space twice (ie a second time) for packing it
then login to your new box in type
rsync -avuz -e ssh [email protected]:/path/to/your/dir /where/you/want
I suggest you to use SCP with -rp command, you can copy entire directory and files to the destination server location: