Ubuntu – Moving folder of files from CentOS server to Ubuntu Server

centosfilesfilesystemsUbuntu

I have a production server and a development server.

Problem is the development server only has 20GB diskspace and about 8GB available.

The folder of files I'm trying to move is 6GB(ish). I've tried to zip the folder and download it to the development server, except while extracting the disk space becomes full.

Is there any solution to move the folder without zipping to have it fit on the development server perfectly?

I know this can be done via FTP as I've done it from my computer, except I have only have command line access to both servers.

Any solutions?

Best Answer

Use SCP to copy the files.

Example to copy the directory "foo" from the local host to a remote host's directory "bar"

scp -r foo your_username@remotehost.edu:/some/remote/directory/bar

Ref: http://www.hypexr.org/linux_scp_help.php

Related Topic