How To Update a WordPress Plugin Manually Using rsync
erics, Posted January 24th, 2020 at 11:17:25am
If you are unable to update a plugin via the WP admin console, then you can do the update manually.
Download the zip file to your local hard drive and extract it.
Then, from the command line, do the test run first:
1 2 |
cd {extracted_plugin_directory} rsync -av --dry-run --delete ../{extracted_plugin_directory}/ theHost:/volumes/www/theSite/wordpress/wp-content/plugins/{extracted_plugin_directory}/ |
*Make sure to use the trailing slashes with rsync for proper operation with directories.
Validate the output, then remove the --dry-run
and do it for real:
1 |
rsync -av --delete ../{extracted_plugin_directory}/ theHost:/volumes/www/theSite/wordpress/wp-content/plugins/{extracted_plugin_directory}/ |
Leave Your Comment
All fields marked with "*" are required.