How to Manually Delete Apps via Fugu or Terminal?

Discussion in 'Jailbreaks and iOS Hacks' started by meagain, Feb 3, 2008.

  1. meagain macrumors 68030

    Joined:
    Nov 18, 2006
    #1
    I have a Mac. Options are Fugu and Terminal. I can't see anyway to drag items to another directory. I've been dragging onto my mac, then dragging back into the phone. PITA. But that's ok

    Mostly - My problem is how to delete. I can't see a way to do it quick/easy in Fugo. I've no clue how to do it with Terminal. My phone is a big mess.

    I have old apps in: / private var applications.old
    Also, in / private var applications.old, I have a folder called "Applications".
    Under / Applications, I have applications AGAIN (this is the one I "think" I want to keep).

    LOL I want to delete the folder Applications under Applications.old, and delete Applications.old. Can anyone tell me what Terminal commands/strings I'd use here to clean up my mess? Thanks.
     
  2. DaffyDuck macrumors 6502

    Joined:
    Jun 18, 2007
    #2
    The easiest way is to use Terminal. Change to one directory above the one you want removed and type:

    cd /private/var
    rm -fR Applications.old

    or you can just use the whole path:

    rm -fR /private/var/Applications.old

    That should remove the file hierarchy within that folder and the folder itself.

    In case you don't know, the man command will give you an overview of commands. man rm will tell you what it does and what it's options do. Press space to advance to the next page and q to quit.
     
  3. meagain thread starter macrumors 68030

    Joined:
    Nov 18, 2006
    #3
    Excellent. Thank you. I'll have to learn about this "man" command, etc.
    I was able to remove most of the garbage.

    Question for you or anyone.....

    I have Installer under:

    / Private/var/applications (816 b) and....
    / Private/var/mobile/library (238 b) (these are .plists with one zip file for 'locateme')

    Should it appear twice like this with different sizes? And, is 816 b the size the new installer version should be?
     
  4. meagain thread starter macrumors 68030

    Joined:
    Nov 18, 2006
    #4
    Another question (so I don't ruin my phone)....

    I have an app I want to delete via Terminal.

    / private var Applications blabla.app

    Am I to type in terminal: rm -fr /private/var/applications/blabla.app ??
    or rm -r ??
     
  5. meagain thread starter macrumors 68030

    Joined:
    Nov 18, 2006
    #5
    Got it. The above didn't work for a while, but now I nuked it properly.
     

Share This Page