Skip to content

Instantly share code, notes, and snippets.

@DILL44 DILL44/drupal update
Last active Oct 13, 2015

What would you like to do?
update for drupal on shared server
wget &&
unzip &&
rm -R drupal-7.18/sites/ &&
cp -R sites/ drupal-7.18/ &&
mv drupal-7.18/ ../ &&
rm &&
mkdir ../backup &&
mv * ../backup/ &&
mv .htaccess ../backup/ &&
rm -R ../drupal-7.18/.git*&&
mv ../drupal-7.18/* .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.