|
|
@ -65,4 +65,4 @@ wp search-replace --all-tables --url="${localDomains[0]}" "$sshFolderPath" "$pub |
|
|
|
rm "$public_html"/db.dump |
|
|
|
rm "$public_html"/db.dump |
|
|
|
|
|
|
|
|
|
|
|
#Makes sure everything in the uploads folder on the server is also on the local |
|
|
|
#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" |
|
|
|