Created
May 14, 2020 06:36
-
-
Save midnite81/1f5bb4044ef3f85738e8b8ebf58e5dd3 to your computer and use it in GitHub Desktop.
Switches the httpdocs and httpdocs-release folders around
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -d httpdocs-release ]; then | |
mv httpdocs httpdocs-holding | |
mv httpdocs-release httpdocs | |
mv httpdocs-holding httpdocs-release | |
else | |
echo "No httpdocs-release folder!" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment