Saturday, September 4, 2010

Copying .emacs and .emacs.d files from one server to another via ssh

Copying from a server to your local dir:
rsync -avz -e ssh user@localhost.com:.emacs .
rsync -avz -e ssh user@localhost.com:.emacs.d .

Or copying from your local dir to another server:

rsync -avz <dir> -e ssh user@localhost:.

1 comment:

  1. DreamHost is ultimately one of the best web-hosting company with plans for any hosting requirements.

    ReplyDelete