dev-scripts/scripts/octobercms/import-files-from-remote.sh

7 lines
227 B
Bash
Executable File

#!/bin/sh
_remote_base_dir='public_html'
_remote_ssh='octobercms@staging.rayelliott.dev'
rsync -azP "$_remote_ssh:$_remote_base_dir/storage $_remote_base_dir/themes $_remote_base_dir/plugins" /srv/octobercms/ --delete-before