cPanel restore multiple backups from ssh

cPanel Find and Delete Trash Folders

If you find you have a lot of users with large amounts of files in their Trash in cPanel, you can run the following command from SSH to delete them all in one go!:


find /home/*/.trash/* -exec rm -rf {} \;


Keep in mind it is not possible to retrieve any data in the folders you are deleting, so only do this if you know what you are doing and are absolutely sure you do not need the data!