Delete locked files/folder?

Discussion in 'macOS' started by kellah, Jun 10, 2007.

  1. kellah macrumors regular

    Joined:
    Apr 29, 2007
    Location:
    East Lansing, MI
    #1
    I'm new to Mac. I just bought my MBP this week. Anyway I deleted a folder off an external hard drive that had Windows stuff on it from the drive's manufacturer. (I won't need it and it was just taking up space) Anyway, I can't empty the trash because the files in the folder I deleted are locked.

    Does anyone know of a way around this? I tried deleting the folder via terminal with "rmdir /Users/andrew/.Trash/MyFolder" but that did not work because the folder is not empty. I read there is a small utility called UnlockAll that will batch unlock a group of files. However, the Version Tracker download doesn't work and I was not able to find it anywhere else.

    Does anyone have any ideas?

    Thanks
     
  2. janey macrumors 603

    janey

    Joined:
    Dec 20, 2002
    Location:
    sunny los angeles
    #2
    Close.
    Try:
    Code:
    sudo rm -rf /Users/andrew/.Trash/MyFolder
    and enter an admin password.
     
  3. kellah thread starter macrumors regular

    Joined:
    Apr 29, 2007
    Location:
    East Lansing, MI
  4. M@lew macrumors 68000

    M@lew

    Joined:
    Nov 18, 2006
    Location:
    Melbourne, Australia
    #4
    You could also go Get info -> Uncheck "Locked"
     

Share This Page