Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
I accidentally deleted /private/var folder
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="chscag" data-source="post: 1503116" data-attributes="member: 46727"><p>You should be able to reinstall Lion from the Recovery partition as long as you have an internet connection.</p><p></p><p>Try this from the terminal:</p><p></p><p>In the Terminal type "cd .Trash" (without the quotes). This will navigate the terminal to your Trash folder. The dot before the directory name "Trash" denotes that the folder is hidden. Hidden folders do not show up in directory listing methods (when you type "ls") and can only be accessed by using their full name.</p><p></p><p>Type "mv your_file_name ../" without the quotes and replacing your_file_name with the name of the file you'd like to restore.</p><p></p><p>The above example would restore the file to your home directory. ( / )</p></blockquote><p></p>
[QUOTE="chscag, post: 1503116, member: 46727"] You should be able to reinstall Lion from the Recovery partition as long as you have an internet connection. Try this from the terminal: In the Terminal type "cd .Trash" (without the quotes). This will navigate the terminal to your Trash folder. The dot before the directory name "Trash" denotes that the folder is hidden. Hidden folders do not show up in directory listing methods (when you type "ls") and can only be accessed by using their full name. Type "mv your_file_name ../" without the quotes and replacing your_file_name with the name of the file you'd like to restore. The above example would restore the file to your home directory. ( / ) [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
I accidentally deleted /private/var folder
Top