Problems deleting a user with a lot of data

albatroz

Verified User
Joined
Mar 13, 2004
Messages
336
Location
Peru
I am trying to erase and account that has a lot of data (more than 1GB) however
eveytime I try to do so, DA gives me timeout error messages.

Is there a way I can do it from the command line?
 
If you are the server admin, just ssh into the server and go to the users home directory.

Once inside the public_html folder you can use the rm command to delete files eg..
Code:
#rm filename
If you want to delete folders with content still in them, you can use this command:
Code:
#rm -rf foldername
This will deletd the folder and all content with in it. Do not delete the user's account / home directory this way. Go back into DA and Delete the user after you have removed the content that you want to get rid of.

*Note that you will need to change the appropriate name for files, folders and user account to use those commands.
 
Back
Top