Locate AND delete in terminal

Discussion in 'Mac Basics and Help' started by FongMan, Oct 26, 2009.

  1. FongMan macrumors regular

    FongMan

    Joined:
    Feb 4, 2006
    #1
    Hi,

    Ever since I updated Skype it refuses to log me in and just crashes. So I deleted all skype files (.app, Application support, preferences and the Skype files in my caches folder). After emptying my trash I used the "Locate" command and all the files I deleted are still showing as on the computer, all the files in the contents of the skype.app and the preferences, are all still being showing when you perform locate. But when I browse using Finder or "cd" to the locations and I "ls" in Terminal I don't see any of the files. Can anybody have any ideas or even a command to locate AND delete in terminal?

    Thanks
     
  2. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #2
    Use updatedb to update locate's database. You can also use find to search:

    Code:
    sudo find / -iname "*skype*"
     
  3. FongMan thread starter macrumors regular

    FongMan

    Joined:
    Feb 4, 2006
    #3
    I'm not really understanding how to use updatedb, can you explain?
     
  4. belvdr macrumors 603

    Joined:
    Aug 15, 2005
  5. FongMan thread starter macrumors regular

    FongMan

    Joined:
    Feb 4, 2006
    #5
    Ok, it asks for my password and when I put it in it says command not found.
     
  6. belvdr macrumors 603

    Joined:
    Aug 15, 2005
    #6
    Apparently Apple was thinking a bit too differently for some reason.

    Code:
    sudo /usr/libexec/locate.updatedb
     
  7. FongMan thread starter macrumors regular

    FongMan

    Joined:
    Feb 4, 2006
    #7
    ok great, that command worked, thank you. I've deleted all skype files but when I re-install it, it still quits unexpectedly during login. =(
     
  8. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #8
    Check Console for error messages / create a Skype help ticket on their site.
     

Share This Page