WordPress Manual Upgrade for Experts: Difference between revisions
mNo edit summary |
|||
| Line 40: | Line 40: | ||
*Copy the working version of the WordPress website files into the new directory (The below command will not overwrite any of the new files and will also preserve all permissions from the "working" WordPress files. The end result is upgraded WordPress Files and any custom stuff in the same directory);<syntaxhighlight lang="text"> | *Copy the working version of the WordPress website files into the new directory (The below command will not overwrite any of the new files and will also preserve all permissions from the "working" WordPress files. The end result is upgraded WordPress Files and any custom stuff in the same directory);<syntaxhighlight lang="text"> | ||
cp -R -T -n -v -a -x /var/www/html/WebSiteDirectory.WorkingVersion/* /var/www/html/WebSiteDirectory | cp -R -T -n -v -a -x /var/www/html/WebSiteDirectory.WorkingVersion/* /var/www/html/WebSiteDirectory | ||
Don't forget the ASTERISK on the end of the Source. | Don't forget the ASTERISK on the end of the Source. | ||
Flags can be combined, IE -Rnvax, but are shown separately for clarity. | Flags can be combined, IE -Rnvax, but are shown separately for clarity. | ||