The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Accidentally deleted applications folder...

    Discussion in 'Apple and Mac OS X' started by system_159, Nov 7, 2007.

  1. system_159

    system_159 Notebook Deity

    Reputations:
    363
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    Luckily I caught that thousands of files were set up to delete when it should have only been 25 or so and stopped the trash from emptying. Unfortunately everything after smcFanControl alphabetically is gone(I think part of smc got removed too).

    Where do I go to get the apple software back? The first thing I notice that I need is text edit, but I can't seem to find a download location for it. Any suggestions?
    (I have text Wrangler, but it's a bit bulkier especially for Makefiles).
     
  2. Xander

    Xander Paranoid Android

    Reputations:
    1,321
    Messages:
    1,455
    Likes Received:
    0
    Trophy Points:
    55
    I've used the OS X Install DVD to manually install individual applications before. You just need to make hidden files viewable in Finder so you can locate the installation packages. Enter the following code in Terminal to view hidden files:

    Code:
    defaults write com.apple.Finder AppleShowAllFiles YES
    killall Finder
    Then navigate to /Mac OS X Install DVD(Disk 1)/System/Installation/Packages/. Just double-click the package you want to install. TextEdit.app is included in the Essentials.pkg.

    And after you're finished you can hide the hidden files using Terminal:

    Code:
    defaults write com.apple.Finder AppleShowAllFiles NO
    killall Finder
    Also, some of the Utilities are on the Mac OS X Install Disk in /Applications/Utilities/ and they're not even hidden. The directories I mentioned are according to my PPC OS X 10.4.2 Disc, so they may be slightly different for you.
     
  3. system_159

    system_159 Notebook Deity

    Reputations:
    363
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    Well, I discovered that my Utilities folder was amongst those that got deleted, so I've decided to just reinstall. I'm backing everything up now...
     
  4. stealthsniper96

    stealthsniper96 What Was I Thinkin'?

    Reputations:
    207
    Messages:
    1,398
    Likes Received:
    0
    Trophy Points:
    55
    well if you just re-installed, i asume that means you have a backup. why not just back up the applications folder?
     
  5. system_159

    system_159 Notebook Deity

    Reputations:
    363
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    Cause a lot of my applications have files outside the applications folder and therefore don't work by just copying the .app file, so I just never bothered with it.

    I've reinstalled, and I'm working on getting the applications I had back on here.
     
  6. smiley_lauf

    smiley_lauf Notebook Consultant

    Reputations:
    43
    Messages:
    234
    Likes Received:
    0
    Trophy Points:
    30
    Can one protect system folders, like the application folder, so that they NEVER can get deleted, even by accident? I am sure there must be a way.

    Seems lame that one could just delete a folder without the system laerting you that these are applications or system files one is deleting: I am in Windows world, and I have delberately deleted the C:\Windows, without any serious warning (you get a caution with option to YES/NO, but nothing to prevent you from doing).

    just a curious question.

    S
     
  7. system_159

    system_159 Notebook Deity

    Reputations:
    363
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    You can set permissions on the folder to only allow the root user to delete it, but even then all it asks for is a password I believe(which several things ask for when deleting).

    Maybe Sam or Xander will have a better idea on protecting vital files.
     
  8. Xander

    Xander Paranoid Android

    Reputations:
    1,321
    Messages:
    1,455
    Likes Received:
    0
    Trophy Points:
    55
    Just create another User Account without Admin privelages (System Preferences > Accounts). Click the Plus (+) button. And always use that account unless you need the Admin privelages. Nothing is foolproof though. There are numerous warning messages whenever you delete files in OS X. Always check the content of the Trash before you empty it.

    And now that I've read this, instead of using a Move operation always use Copy instead (hold Option if you drag-and-drop files), then delete the original files afterwards.
     
  9. system_159

    system_159 Notebook Deity

    Reputations:
    363
    Messages:
    794
    Likes Received:
    0
    Trophy Points:
    30
    Hmmm... new issue has popped up. I don't seem to have a .profile file in my home folder. When I try open .profile I get a "No such file" error. Any idea where it is?
     
  10. Wooky

    Wooky Notebook Evangelist

    Reputations:
    60
    Messages:
    692
    Likes Received:
    0
    Trophy Points:
    30
    I guess Tiger never creates a .profile in the first place. Had to create mine by hand, IIRC - well I copied it from my Linux box.