Root Page :: Recent Changes :: Search

Windows Programming

Linux Info

Cookbook

Random

Remote Bulk File Transfer Methods

There are many ways to copy a set of files from one place to another.

Local to Remote, via rsync+ssh

$ rsync -avP /path/to/directory user@remote:/path/to/location

Remote to Local, via rsync+ssh

$ rsync -avP user@remote:/path/to/directory /path/to/location

Local to Remote, via tar+ssh (tarball)

$ tar -cz -C /path/to/location directory | ssh user@remote 'cat > /path/to/backup.tar.gz'

Remote to Local, via tar+ssh (tarball)

$ ssh user@remote 'tar -cz -C /path/to/location directory' > /path/to/backup.tar.gz
2008-04-10 20:34:43 :: Source :: History :: Backlinks :: Print