Skip to content

Commit

Permalink
Update v-clean-garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
myvesta committed Sep 24, 2022
1 parent d48f6cc commit 5518e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/v-clean-garbage
Expand Up @@ -29,6 +29,7 @@ find /home/*/web/*/public_html/wp-content/envato-backups/ -type f -not -name ".h
find /home/*/web/*/public_html/wp-content/ai1wm-backups/ -type f -not -name ".htaccess" -not -name "index.php" -not -name "index.html" -not -name "web.config" -delete
find /home/*/web/*/public_html/wp-content/wpvividbackups/ -type f -not -name ".htaccess" -not -name "index.php" -not -name "index.html" -not -name "web.config" -delete
find /home/*/web/*/public_html/wp-content/updraft/ -type f -not -name ".htaccess" -not -name "index.php" -not -name "index.html" -not -name "web.config" -delete
find /home/*/web/*/public_html/ -type f -name "*.wpress" -delete
find /home/*/web/*/public_html/ -type f -name "error_log" -exec truncate -s 0 {} \;
find /home/*/web/*/public_html/ -type f -name "error_log.txt" -exec truncate -s 0 {} \;
find /home/ -type f -name "*.log" -exec truncate -s 0 {} \;
Expand Down

0 comments on commit 5518e0e

Please sign in to comment.