Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |
| servers:linux:nginx:wordpress [2025/12/21 00:38] – Sean Rhone | servers:linux:nginx:wordpress [2025/12/21 00:43] (current) – [Git Fix] Sean Rhone |
|---|
| #!/bin/bash | #!/bin/bash |
| |
| '/usr/bin/rm' -Rf '/tmp/www/blog' | '/usr/bin/rm' -Rf '/tmp/blog' |
| '/usr/bin/mkdir' -p '/tmp/www/blog' | '/usr/bin/mkdir' -p '/tmp/blog' |
| '/usr/bin/cp' -Rf '/var/www/blog/wp-content/uploads' '/var/www/blog/wp-config.php' '/tmp/www/blog' | '/usr/bin/cp' -Rf '/var/www/blog/wp-content/uploads' '/var/www/blog/wp-config.php' '/tmp/blog' |
| |
| '/usr/bin/rm' -Rf '/var/www/blog/.git' | '/usr/bin/rm' -Rf '/var/www/blog/.git' |
| '/usr/bin/git' -C '/var/www/blog' fsck --full --strict | '/usr/bin/git' -C '/var/www/blog' fsck --full --strict |
| |
| '/usr/bin/cp' -Rf '/tmp/www/blog/uploads' '/var/www/blog/wp-content' | '/usr/bin/cp' -Rf '/tmp/blog/uploads' '/var/www/blog/wp-content' |
| '/usr/bin/cp' -f '/tmp/www/blog/wp-config.php' '/var/www/blog/wp-config.php' | '/usr/bin/cp' -f '/tmp/blog/wp-config.php' '/var/www/blog/wp-config.php' |
| '/usr/bin/rm' -Rf '/tmp/www/blog' | '/usr/bin/rm' -Rf '/tmp/blog' |
| |
| # End</code> | # End</code> |