How to delete Photos app with terminal command?

Discussion in 'OS X El Capitan (10.11)' started by pjny, Sep 23, 2015.

  1. pjny macrumors 6502a

    Joined:
    Feb 18, 2010
    #1
    Hi,

    I need to delete the Photos app because it keeps popping up everytime I insert an SD card that has been formatted. Photos forgets that your options to ignore card once card is formatted. I need to get rid of this app NOW!!!!! Please help.
     
  2. pjny thread starter macrumors 6502a

    Joined:
    Feb 18, 2010
    #3
    I tried sudo rm -R /Applications/Photos.app and other forms of rm command earlier but it doesn't seem to work.
     
  3. Shirasaki macrumors 603

    Shirasaki

    Joined:
    May 16, 2015
    #4
    Due to rootless and some other reasons, removing photos app is more difficult under El Capitan. You may either install another Mac OS X and try to delete it from there, or disable rootless from recovery partition and try to delete it.
    You can try to rename app rather than deleting it.
     
  4. dsemf macrumors regular

    Joined:
    Jul 26, 2014
    #5
    With the SD card inserted, open Image Capture in the Utilities Folder. In the lower left corner are the options that apply when the SD card is found. Pick the one that you want.

    DS
     
  5. jbarley, Sep 23, 2015
    Last edited: Sep 23, 2015

    jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #6
    I have successfully deleted the photos app and several other default Apple apps by first booting to "cmd+r" disabling SIP, then rebooting and deleting the apps in Terminal using "sudo rm -rf " and then dragging the app from the Finder to complete the command.
    After which I re-enabled SIP and rebooted.
    I know it sounds convoluted but it worked for me.
     
  6. mfram macrumors 65816

    Joined:
    Jan 23, 2010
    Location:
    San Diego, CA USA
    #7
    I haven't tried this, but maybe someone else has. Previously it was common for third-party apps to install themselves in /Applications. Is that not supposed to happen anymore? What happens to the apps that were installed before El Cap? Are you able to remove them without turning off SIP? Has anyone tried?
     
  7. leman macrumors 604

    Joined:
    Oct 14, 2008
    #8
    SIP only stops you from messing with system stuff. Applications folder is still perfectly writeable.
     
  8. beebarb macrumors 6502

    beebarb

    Joined:
    Sep 10, 2015
    #9
    It is still permitted to install applications in that folder, as it's the global (all users) applications folder.
    The only things protected by SIP in that folder are Apple provided stock applications, as some of them being removed can have a negative effect on the system (ex. App Store, Time Machine, System Preferences).
     
  9. jbarley macrumors 68030

    jbarley

    Joined:
    Jul 1, 2006
    Location:
    Vancouver Island
    #10
    Have you actually tried removing Apple installed apps from the Application Folder before making this bold statement?
    AS soon as I installed El Capitan I tried to remove all of these Apple installed apps as I've done on all my previous systems and found it did not work.
    After a bit of research I disabled SIP and had no problem removing these apps.
    How would you explain that?
     
  10. leman macrumors 604

    Joined:
    Oct 14, 2008
    #11
    Sorry for being not precise enough. I was replying to the poster above me. What I mean that third-party apps can be installed/removed from /Applications. Apple stock apps count as system files for this, so they can't be removed.
     
  11. dogslobber macrumors 68020

    dogslobber

    Joined:
    Oct 19, 2014
    Location:
    Apple Campus, Cupertino CA
    #12
    Just saw that. It says "operation not permitted" when you try to remove it. I wonder where the registry is that has these apps included.
     
  12. pjny thread starter macrumors 6502a

    Joined:
    Feb 18, 2010
    #13
    This only works until you format the card(which i do after every shoot). Then the app forgets and you have two apps opening up to import. Very frustrating.

     
  13. leman macrumors 604

    Joined:
    Oct 14, 2008
    #14
    There is no registry, rootless-protected files are marked by a new extended file attribute.
     

Share This Page