Mac OS X How to Delete Problem Files using the Command Line

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 50

  • @simonsantiago9988
    @simonsantiago9988 4 ปีที่แล้ว +8

    instructions unclear, deleted my fridge

  • @jucaguima
    @jucaguima 4 ปีที่แล้ว +1

    Thanks for this video. I found very useful the drag and drop capability that displays the exact path location. Thanks!

  • @micapoan9
    @micapoan9 4 ปีที่แล้ว

    Thanks very much I had used a recovery program to recover lost photos, but there was not enough space on my mac which resulted in me not being able to view the photos and remove them this technique allowed me to remove the stubborn photos and finally remove the folder. I will subscribe to your channel.

  • @farhanakbar7492
    @farhanakbar7492 3 ปีที่แล้ว

    Thanks mate, this is the only video that helped me resolve the issue.

  • @anilksolanki
    @anilksolanki 6 ปีที่แล้ว +2

    Very useful. Thank you for taking the time to make this video.

  • @suzieq8379
    @suzieq8379 6 หลายเดือนก่อน

    could you tell me what that remote disc is on your setting? plz

  • @georgejexter
    @georgejexter 4 ปีที่แล้ว +2

    THANK YOU SO MUCH FOR THIS VIDEO!!!!!! VERY GREAT HELP SAVED ME SO MUCH AGGRAVATION!
    Was about to smash up my computer untill i see this video!!!!

  • @APTECHTV
    @APTECHTV 4 ปีที่แล้ว +7

    it says: is a directory

    • @jettw3
      @jettw3 4 ปีที่แล้ว +5

      same

  • @yamonflamon
    @yamonflamon 3 ปีที่แล้ว

    Thanks Bro very informative

  • @jaymeebernal2390
    @jaymeebernal2390 4 ปีที่แล้ว +1

    can you please help me to remove files that were locked. I recently downloaded emulator on my mac but when I'm trying to delete it it says "you don't have permission to........"

  • @denislaliberte519
    @denislaliberte519 3 ปีที่แล้ว

    This is excellent information. Gracias!

  • @hengamez_1879
    @hengamez_1879 5 ปีที่แล้ว

    Hello, is there any way to save it like in apple script so if somebody with ill intentions opens it will delete the files, sorta like apple script

  • @juracerichards2601
    @juracerichards2601 10 หลายเดือนก่อน

    I was still unable to use the command to delete a particular file on my desktop it’s telling me that the file “operation cannot be completed because the file need to be downloaded” I don’t know what else to do

  • @tahasheikh6480
    @tahasheikh6480 3 ปีที่แล้ว

    Thanksss my guy really appreciate it

  • @ashleyjohnson3704
    @ashleyjohnson3704 5 ปีที่แล้ว

    Thank you very much you helped alot

  • @ol8435
    @ol8435 4 ปีที่แล้ว

    Thank you so much!!!

  • @preservedforhistory8766
    @preservedforhistory8766 4 ปีที่แล้ว

    the file i am trying to delete says it is a directory. Is there a command to delete that? it won't allow me with the sudo rm Command.

  • @gabrielraphaelofficial
    @gabrielraphaelofficial 4 ปีที่แล้ว +1

    I get " override rwxr-xr-x root/wheel restricted,compressed for" the file name etc, and im the admin, I rebooted disabling SIP in recovery mode...still can't change permissions (CATALINA)

  • @ybaandstuffwithfriends9310
    @ybaandstuffwithfriends9310 3 ปีที่แล้ว

    i dont know if ur gonna respond but uh i put all my messages on my desktop and i cant drag them into anything or delete them pls help

  • @Eyes2C.
    @Eyes2C. 5 ปีที่แล้ว

    Can you please help? I make documentaries with Final Cut pro and have huge amounts of video clips. Im not very techy. I just discovered that Im totally out of room on my 3 month old iMac! Im unable to delete, or move any files. When I try to delete the files, it says, “Disk out of space”. HELP, What do I do? Please! Thank u!

    • @GemsbokAppleTipsandTricks
      @GemsbokAppleTipsandTricks  5 ปีที่แล้ว

      You may be able to delete files you don't need via the command line. I think it will bypass the Disk out of space error. Check out this video that explains it:
      th-cam.com/video/jKFb_kWvEq4/w-d-xo.html
      Once you have some space available, you should be able to copy some files over to a USB external drive to free up more space. Afterwards, you will probably want to set up Final Cut Pro so that it uses an external USB drive as it's working disk where the files are stored, so your internal drive doesn't get filled up. That's what I do for editing the videos for this channel.
      Good luck!

    • @backalleycqc4790
      @backalleycqc4790 5 ปีที่แล้ว

      Eyes 2 C, just follow the directions in this video. I had the exact same problem you outlined and this tutorial worked perfectly! Thanks, Gemsbok, liked and subscribed :)

  • @Failzasaurus
    @Failzasaurus 3 ปีที่แล้ว

    Thank you!

  • @D-boy23
    @D-boy23 ปีที่แล้ว

    I have like 20 disk images on my hard drive how can I delete some of those?

  • @stonehxz354
    @stonehxz354 2 ปีที่แล้ว

    thanks

  • @isaacdrake8124
    @isaacdrake8124 3 ปีที่แล้ว

    Mine is saying “Never opened” and I don’t know what to do. I tried to just delete it but it’s not working

  • @vishnubasnet
    @vishnubasnet 4 ปีที่แล้ว

    Thanks you sooooooo much. :D

  • @branniganfarnsworth3342
    @branniganfarnsworth3342 2 ปีที่แล้ว

    Will Forte?

  • @OverlandTT
    @OverlandTT 5 ปีที่แล้ว

    rm: /Users/MyUserName/Ireland/New Folder/System Security/trailer.mpg: Operation not permitted
    Can you please help with the above?

    • @msaeedkanani
      @msaeedkanani 5 ปีที่แล้ว

      Maybe this could do the trick:
      Open the Terminal application in the /Applications/Utilities/ folder while started up from the internal drive, and enter the following:
      cd /Volumes/volumename/
      (remember to use your volumename)
      mv .Trashes/501/ .Trashes/extratrash/
      Log out and log back in; the Trash should now be empty. The folder did not appear when you started from the external drive because the .Trashes folder is only consulted on a disk which doesn't contain your account's home folder.

  • @MD0MDI
    @MD0MDI 5 ปีที่แล้ว

    Thanks but I can’t get this to work, I’ve got a few directories that are empty but it still states that they are not empty and ‘sudo rm -rf’ doesn’t work.

    • @GemsbokAppleTipsandTricks
      @GemsbokAppleTipsandTricks  5 ปีที่แล้ว

      You could try setting up the root user on your Mac. I've got an old video in my list that shows you how to do that. Then, you can co in the command line and type "login root" then it will prompt for your root password. Then you can try "rm -rf" without the "sudo".
      Sometimes I have to do that for very stubborn files or folders.

    • @nitishvenugopal9776
      @nitishvenugopal9776 4 ปีที่แล้ว

      @@GemsbokAppleTipsandTricks even after login to the root, getting the same message for the folder and folders in it "Directory not empty"

  • @bryttnielee
    @bryttnielee 5 ปีที่แล้ว

    I can’t delete because I am not the administrator of the file. It is locked I cannot unlock it. I tried to sudo unlock the file and sudo delete it and when I enter my password it says illegal or cannot be completed. Someone has hacked into my computer and created coded files that I cannot unlock or delete. My computer is not working because of these files

    • @bryttnielee
      @bryttnielee 5 ปีที่แล้ว

      Says operation not permitted

  • @rgeno6091
    @rgeno6091 4 ปีที่แล้ว

    How to recover deleted files from the emptied trash can? Thanks

    • @acat8792
      @acat8792 3 ปีที่แล้ว

      you can't.

  • @jaymeebernal2390
    @jaymeebernal2390 4 ปีที่แล้ว

    I did'nt get the part on putting the password? where to input the password?

  • @aptechtvbts642
    @aptechtvbts642 3 ปีที่แล้ว

    It says illegal action

  • @samuelamezcua2105
    @samuelamezcua2105 2 หลายเดือนก่อน

    must not work anymore :(

  • @aptechtvbts642
    @aptechtvbts642 3 ปีที่แล้ว

    Bruh it doesn’t work, it says illegal action

  • @Arty_Boi
    @Arty_Boi 4 ปีที่แล้ว

    Failed

  • @brunospammusic6872
    @brunospammusic6872 5 ปีที่แล้ว

    lol , the video is always crushing , its the only one , cant see

  • @SaeedHassanapple
    @SaeedHassanapple 3 ปีที่แล้ว

    Thank you!

  • @susiedubon
    @susiedubon 3 ปีที่แล้ว

    There are some files that cannot be dragged. How do I delete those.