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:.

No comments:

Post a Comment