Created
September 9, 2020 13:27
-
-
Save decodist/f84e694c842402cc7748076402e70ff2 to your computer and use it in GitHub Desktop.
Find size of Wordpress install on Linux
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
#Show a list of the largest files (change "/wproot" to the actual root folder) | |
find /wproot -type f -exec du -Sh {} + | sort -rh | head -n 20 | |
#Show size of WP root folder | |
du -sh /wproot | |
#Show size of wp-content folder | |
du -sh /wproot/wp-content | |
#Show size of uploads folder | |
du -sh /wproot/wp-content/uploads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment