View Full Version : Deleting an unnecessary user directory
orca498
03-15-2002, 08:12 PM
I previously created a second user on my machine (the reason for this is now lost in the mists of my mind). I don't need it anymore, and had previously deleted it using the Users panel. So, now I have a directory in my home directory called "username Deleted"
Now I went on to MacOSXHints (Can't log-in to post. I get an error.) and found an article stating how to delete the directory using: sudo rm -rf /Users/"username Deleted"/ I get "no such file or directory"
Can anyone help?
Thanks
xchanyazy
03-15-2002, 08:28 PM
Try typing in sudo rm -rf in the terminal, and then drag and drop the folder you want deleted from the Finder window. That will put the right path in after the rm command.
gowrann
03-15-2002, 08:32 PM
You are missing a \
try:
sudo rm -rf /Users/username\ Deleted
the \ indicates to bsd that a space is in the directory name as a space isn't recognised in a directory name.
orca498
03-16-2002, 02:35 AM
THANK YOU!!! The drag and drop method worked the best. I'm still too new to the terminal syntax, so I left out the space at the end...
Gotta learn somewheres... Having a great place like this to get info from and the coolest people to learn from makes you feel like you can actually do this stuff.
jeffo
03-19-2002, 12:27 AM
i know you said that you got it deleted but if you look at the original post that was made i think that there was one too many /'s in the path that you used. the last one should not have been there. and since there was a space in the path you put the "" around what you needed to do and that should solve the space problem.
jeffo
orca498
03-19-2002, 01:44 AM
Jeffo,
What you say is true. I missed that too. But, I had totally forgotten about space at the end...
Thanks for adding to my knowledge. :D
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.