Skip to content

Instantly share code, notes, and snippets.

@midnite81
Created May 14, 2020 06:36
Show Gist options
  • Save midnite81/1f5bb4044ef3f85738e8b8ebf58e5dd3 to your computer and use it in GitHub Desktop.
Save midnite81/1f5bb4044ef3f85738e8b8ebf58e5dd3 to your computer and use it in GitHub Desktop.
Switches the httpdocs and httpdocs-release folders around
#!/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