I just wanted to post this quickly so I have a reference for it. This is an updated version of how I update Drupal core:
wget <drupal archive>
tar -zxf <drupal archive>
ls drupal-*/{*,.htaccess}
cp -r drupal-*/{*,.htaccess} htdocs/
rm drupal-* -rf
The 'ls' command allows for a visual check to confirm that the correct files will be copied by the 'cp' command and that I don't have an old drupal-* folder that would cause issues.
Comments
Post new comment