Last active
March 24, 2017 04:24
-
-
Save joseamirandavelez/e49e56494fba1ce2c716c404b56e5e58 to your computer and use it in GitHub Desktop.
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
One liner for backing up wordpress files, and reinstall core | |
mkdir FIX; cp -rfp public_html/wp-content FIX/; cp -rp public_html/wp-config.php FIX; rm -rf public_html/*; cp -rfp FIX/* public_html/; cd public_html/; wp core download --allow-root | |
Find files modified by date | |
find . -type f -name '*.php' -newermt 2017-03-22 ! -newermt 2017-03-23 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment