Results 1 to 10 of 10
  1. #1
    Something to unlock or just delete 3 locked folders

    Member Since
    Dec 26, 2007
    Posts
    74
    Something to unlock or just delete 3 locked folders
    I've had three folders on my external HDD for quite a while now, and they are all locked so when i delete the folder they are in i then cant empty them from the recycle bin.

    Is there a program or way to either unlock these files I cant unlock (I've tried clicking the lock box thing) or to just delete them without unlocking?

  2. #2
    Something to unlock or just delete 3 locked folders
    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Location
    Deep in the heart of Texas!
    Posts
    3,566
    Specs:
    Mac's
    In Terminal.app you can copy paste (BE VERY CAREFUL) this:

    sudo rm-rf

    Then drag the "locked" files and drop them in the Terminal Window.

    It will then look like this (showing the path to the files) **Make sure there is a space between the f and the File Path (~/blahblah/blah/blah):

    Sudo rm -rf ~/Desktop/FolderName/fileToBeDeleted

    Press ENTER
    You will be prompted for your Password.
    type in your Admin password... You will not see the characters as you type.
    Press ENTER after typing your password.

    Viola! Your files are gone!

  3. #3
    Something to unlock or just delete 3 locked folders

    Member Since
    Dec 26, 2007
    Posts
    74
    Last login: Wed Jan 30 20:27:13 on ttys000
    liam-taylors-macbook:~ Liam$ sudo rm -rf~/Volumes/1TB/\$RECYCLE.BIN
    Password:
    rm: illegal option -- ~
    usage: rm [-f | -i] [-dPRrvW] file ...
    unlink file
    liam-taylors-macbook:~ Liam$ sudo rm -rf /Volumes/1TB/\$RECYCLE.BIN
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/01 Carousel.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/02 M + M's.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/03 Fentoozler.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/04 Touchdown Boy.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/05 Strings.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/06 Peggy Sue.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/07 SomeTimes.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/08 Does My Breath Smell.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/09 Cacophony.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/10 TV.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/11 Toast And Bananas.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/12 Wasting Time.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/13 Romeo And Rebecca.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/14 Ben Wah Balls.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/15 Just About Done.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/16 Depends.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/U2/Pop: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/U2: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/01 - Le Garage.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/02 - Robot.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/03 - A to B.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/04 - Decent Days and Nights.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/05 - Meantime.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/06 - Alms.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/07 - Danger of the Water.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/08 - Carnival Kids.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/09 - The City Is Here for You to Use.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/10 - First Day.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/11 - He Knows.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/12 - Stupid and Shallow.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/13 - Trying Not to Think About Time.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/14 - Hounds of Love.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/15 - Man Ray.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/16 - Decent Days and Nights (Radio Mix).mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/17 - Hounds of Love (Radio Mix).mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN: Directory not empty
    liam-taylors-macbook:~ Liam$


    ah?

  4. #4
    Something to unlock or just delete 3 locked folders
    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Location
    Deep in the heart of Texas!
    Posts
    3,566
    Specs:
    Mac's
    You didn't read everything... there MUST be a SPACE between the f and the ~

    Also... Are you on a Mac??? I believe Recycle.bin is Windows... ???\

    EDIT... I see you did it twice... the second time you did it Correct. There may be an issue with Recycle.bin file

  5. #5
    Something to unlock or just delete 3 locked folders
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Was that volume ever on a PC?

  6. #6
    Something to unlock or just delete 3 locked folders

    Member Since
    Dec 26, 2007
    Posts
    74
    okay ride i'll give that a go. It's all a bit confusing for me.

    And giulio, yes. I have used a pc before to try and delete the files. And it got them out of my mac recycle bin but now they are just in the HDD.

  7. #7
    Something to unlock or just delete 3 locked folders
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    try:
    chmod -Rf 777 /Volumes/1TB/
    and then:
    sudo rm -rf /Volumes/1TB/\$RECYCLE.BIN

  8. #8
    Something to unlock or just delete 3 locked folders
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Quote Originally Posted by Lamboo View Post
    And giulio, yes. I have used a pc before to try and delete the files. And it got them out of my mac recycle bin but now they are just in the HDD.
    I'm such a ghee-nyus. haha
    Well, if the above commands I gave do not work. Try plugging that volume back into the pc and empty the recycle bin. That's what the "$RECYCLE.BIN" folder is - the window's recycle bin.

    Is that volume mounted read+write BTW, or read-only?

  9. #9
    Something to unlock or just delete 3 locked folders

    Member Since
    Dec 26, 2007
    Posts
    74
    Last login: Wed Jan 30 20:40:59 on ttys000
    liam-taylors-macbook:~ Liam$ chmod -rf 777 /Volumes/1TB/\$RECYCLE.BIN
    chmod: Invalid file mode: -rf
    liam-taylors-macbook:~ Liam$ chmod -Rf 777 /Volumes/1TB/\$RECYCLE.BIN
    chmod: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/U2/Pop/01 Discothèque.mp3: No such file or directory
    liam-taylors-macbook:~ Liam$ sudo rm -rf /Volumes/1TB/\$RECYCLE.BIN
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/01 Carousel.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/02 M + M's.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/03 Fentoozler.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/04 Touchdown Boy.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/05 Strings.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/06 Peggy Sue.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/07 SomeTimes.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/08 Does My Breath Smell.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/09 Cacophony.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/10 TV.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/11 Toast And Bananas.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/12 Wasting Time.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/13 Romeo And Rebecca.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/14 Ben Wah Balls.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/15 Just About Done.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH/16 Depends.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R5EURUH: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/U2/Pop: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/U2: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/01 - Le Garage.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/02 - Robot.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/03 - A to B.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/04 - Decent Days and Nights.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/05 - Meantime.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/06 - Alms.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/07 - Danger of the Water.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/08 - Carnival Kids.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/09 - The City Is Here for You to Use.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/10 - First Day.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/11 - He Knows.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/12 - Stupid and Shallow.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/13 - Trying Not to Think About Time.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/14 - Hounds of Love.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/15 - Man Ray.mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/16 - Decent Days and Nights (Radio Mix).mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads/17 - Hounds of Love (Radio Mix).mp3: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads/The Futureheads: Operation not permitted
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J/The Futureheads: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN/$R4H5V2J: Directory not empty
    rm: /Volumes/1TB/$RECYCLE.BIN: Directory not empty

    Thats what i get for the sudo rm -rf ones

    The chmod one, am i meant to leave it without the rest of the directory or just have it to the 1tb bit?
    liam-taylors-macbook:~ Liam$

  10. #10
    Something to unlock or just delete 3 locked folders

    Member Since
    Dec 26, 2007
    Posts
    74
    aha, i will give that another go and see if i get anywhere.

    ah yes the volume is read and write

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to unlock my NTFS drive folders and sub-folders !
    By richardbenson22 in forum OS X - Operating System
    Replies: 1
    Last Post: 11-15-2014, 11:21 AM
  2. How do I unlock a locked folder?
    By davedave in forum Switcher Hangout
    Replies: 2
    Last Post: 07-30-2008, 05:10 PM
  3. My volume is locked :| How do you unlock it?
    By jojothejojo in forum OS X - Operating System
    Replies: 1
    Last Post: 12-25-2007, 09:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •