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

7 lines
227 B
Bash
Raw Permalink Normal View History

2020-12-30 16:26:41 +00:00
#!/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