Skip to main content
Following are useful commands to do quick server cleanup

to cleanup specific file type from server, put wildcard for file type you are looking for

find / -type f -name "*.wpress" -exec rm -rf {} \;

rm -rf /home/*/trash/*

rm -Rf /home/*/logs/*

Leave a Reply