Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-12-2002, 05:31 AM   #1
Line
Prospect
 
Join Date: Apr 2002
Posts: 22
Question Cannot delete deleted userfiles!?!

Hi everybody - got my Imac yesterday, and since I´m admin, I set up a new user profile for my boyfriend. We then agreed it was not necesary bla, bla...and I wanted to delete it again - but what did I do wrong? I went to user preferences and deleted the new user, and it was then given "back to me" and I now have and irritating folder that says "adrian deleted". I then tried to create a new user, just to see what I did wrong before ( I´m sometimes stupidly persistent) and this time I "gave it back" to the system...
Another irritating folder, that I now cannot even empty.
I am very new to Mac os x - just transferred from Windows - so Pleeeeease bear with me and give us a hand here!
Line
Line is offline   Reply With Quote
Old 04-12-2002, 07:35 AM   #2
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
Line,

Ok, open the terminal.app and type:

sudo rm -rfi /Users/"username Deleted"/

rm will ask you to confirm you want to delete the file.

If you agree, then it's gone.

Be very careful with the command 'rm', it's very powerful, and if you make a mistake with "username Deleted" and you put your user name instead, you will lose all your files.

Just pay attention and it will be fine.


Cheers...

Last edited by sao; 04-12-2002 at 08:15 AM.
sao is offline   Reply With Quote
Old 04-12-2002, 07:46 AM   #3
eriklager
Triple-A Player
 
Join Date: Jan 2002
Location: Sweden
Posts: 122
Open Terminal in /Applications/Utilities and type the following line:
Code:
sudo rm -r "/Users/adrian deleted"
When you press enter it will prompt for your password and delete the folder "adrian deleted".

sudo issues a command as the super user, rm is the remove command, the -r flag is required to delete a folder which is not empty.

Erik

Last edited by eriklager; 04-12-2002 at 07:51 AM.
eriklager is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:18 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.