Skip to content

Instantly share code, notes, and snippets.

@DimaMinka
Last active April 10, 2018 13:29
Show Gist options
  • Save DimaMinka/24c3df57a78dd841a534666a233492a9 to your computer and use it in GitHub Desktop.
Save DimaMinka/24c3df57a78dd841a534666a233492a9 to your computer and use it in GitHub Desktop.
Search Replace DB downloader
#!/bin/bash
wget https://github.com/interconnectit/Search-Replace-DB/archive/master.zip
unzip master.zip
mv Search-Replace-DB-master srdb
rm master.zip
@DimaMinka
Copy link
Author

ssh to your server, sudo su to act as root
Copy srdb.sh to your /usr/local/bin folder

cd /usr/local/bin && wget https://gist.githubusercontent.com/DimaMinka/24c3df57a78dd841a534666a233492a9/raw/ec1c4373f2f847da86db0237af89704edb41cfa1/srdb.sh

Run to make it executable

sudo chmod +x srdb.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment