How can I get Back A System File after Deleting It from My Mac

macbook proToday I saw a buddy ask for help in a technical forum about getting back a lost system file. In the beginning of this article, let’s see his question first.

“I’ve deleted a system file from my Mac and need to get it back.”

The above is his question and I think most of you who are reading this article may meet this question, so here I will help you out to find ways to recover this file.

First thing first, system files can include:

    • hidden files in the root of / – especially unix files in /private
    • /System files
    • /Library file
    • /Applications files that ship with the core OS
    • System files are not any app, user files or files that can be regenerated by a known sequence such as cache files, Spotlight index files, etc.

      If you are sure your Recovery HD is patched to match the OS on your main system, you can snag a file and see if it works without needing to do a full reinstall of the OS.
      Hold ⌘-R during startup until you see a window similar to this:

      These are your options:

      1. Choose Utilities>Terminal:

      2.Your OS X disk will be mounted in /Volumes/. For example, on my Mac it was mounted in /Volumes/Mavericks:df

      Filesystem 1K-blocks Used Available Use% Mounted on

      /dev/disk0s2 249219484 145891460 103072024 59% /Volumes/Mavericks

      3. Now copy /bin to your OS X disk:cp -a /bin /Volumes/

      4. Note that the contents of /bin will be outdated, as the recovery disk is not updated with the rest of the OS, so restore /bin from Time Machine after successfully starting your Mac and logging in.

      Is the above method help you or not? If not, keep reading below because there is a a solution that requires an Internet connection.

      OS X Recovery

      Mac models introduced after Mac OS X 10.7, Lion, include the ability to start up directly from an Internet-based version of the OS X Recovery system.

      OS X automatically uses this feature when the Recovery System on the hard disk isn’t available (such as when your hard disk encounters an issue, or when your hard disk has been replaced or erased). OS X Internet Recovery lets you start your Mac directly from Apple’s servers. Starting up from this system performs a quick test of your memory and hard drive to check for hardware issues.

      So I suggest you plug in your ethernet cable, since the wifi is probably not going to work, and choose the option to boot from the internet if the list of options come up and you’ve got the right version.

      Restoring iLife applications after Internet Restore of OS X

      If your computer came with OS X Lion or later and you erase your hard disk and install OS X, you can download iPhoto, iMovie, and GarageBand from the Mac App Store.

            • After installation, start (up) from OS X.
            • Double-click the App Store icon in the dock.
            • Enter your Apple ID and password.
            • Click Purchases. If you haven’t previously accepted your bundled iLife applications within the Mac App Store, you should see your iLife applications appear in the Accept portion of the screen.
            • Click Accept. You may be asked for your Apple ID and password once again. Your iLife applications now move to the Purchased section. These applications are part of the software that came with your computer. Your account will not be charged for them.
            • Click Install to complete installation of your applications.

      Is it work for you? If still not, then I think you may need a third party file recovery software which is a professional tool that helps users to get the files back easily. About the data recovery software, you can visit our official website for more useful details or technical skills.