Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

starjam

macrumors newbie
Original poster
Nov 10, 2012
4
0
Hello. I accidently deleted my private folder from my mbp. Now when i start it, it gets stuck on the gray screen with the apple logo. I have tried using terminal to move the folder back, but to no avail. I entered the following command:

cp -R /volumes/Macintosh\ HD/users/<username>/.Trash/private /Volumes/Macintosh\

When i enter this command the reply comes as: "My name": No such file or directory

Let me know what you guys think. Thanks
 
I am kind of a new mac user so would the command look something like this?

sudo cp -R.....

I have tried this but still no luck.

Okay... I just did a little tinkering with a test folder I trashed and this worked. Enter single user mode like I showed earlier and enter this command. You will be asked for your admin password. Where I put "username" you need to substitute your own username.

Code:
sudo cp -r /Users/[I]username[/I]/.Trash/private/ /private
 
Hello. I accidently deleted my private folder from my mbp. Now when i start it, it gets stuck on the gray screen with the apple logo. I have tried using terminal to move the folder back, but to no avail. I entered the following command:

cp -R /volumes/Macintosh\ HD/users/<username>/.Trash/private /Volumes/Macintosh\

When i enter this command the reply comes as: "My name": No such file or directory

Let me know what you guys think. Thanks

The private folder is pretty much the core configuration of your entire OS ^^

You will have to reinstall (or use your Time Machine backup), I am afraid. I am not sure whether restoring the folder will also restore all the hidden properties etc, or if its even possible to restore it in the first place. Did you delete it from Finder?
 
The private folder is pretty much the core configuration of your entire OS ^^

You will have to reinstall (or use your Time Machine backup), I am afraid. I am not sure whether restoring the folder will also restore all the hidden properties etc, or if its even possible to restore it in the first place. Did you delete it from Finder?


yes, i deleted it from the finder
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.