rsync -avz -e 'ssh' /path/to/local/dir user@remotehost:/path/to/remote/dir
cp -r /path/to/directory /path/to/location/new-name