Mittwoch, 16. Dezember 2015

Rsync two folders via SSH and exclude multiple folders

Here is an example command:

rsync -a --progress source-folder/ --exclude=sites/default/files/ --exclude=ru/ --exclude=us/ --exclude=.idea/ --exclude=.vagrant/ --exclude=provisioning/ --exclude=.git ssh-user@some-host.com:/destination/folder

Keine Kommentare:

Kommentar veröffentlichen