Jonathan Hodgson 6 years ago
parent 1dac5b8ee3
commit 478f9c012b
  1. 2
      bin/wordpress/get-site-database

@ -65,4 +65,4 @@ wp search-replace --all-tables --url="${localDomains[0]}" "$sshFolderPath" "$pub
rm "$public_html"/db.dump
#Makes sure everything in the uploads folder on the server is also on the local
rsync -ruh --progress "${sshKey}:${sshFolder}/wp-content/uploads/" "${public_html}/wp-content/uploads
rsync -ruh --progress "${sshKey}:${sshFolder}/wp-content/uploads/" "${public_html}/wp-content/uploads"

Loading…
Cancel
Save