Announcement

Collapse
No announcement yet.

Tech Tip For Mac Users

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tech Tip For Mac Users

    Well, this morning i had to delete some large files out of my trash, and it was taking forever and having problems with permissions. so i said f-it im doing it from a terminal. So i figured it would be a good time to make an example and post it up for people with macs. Its Uber quick and gets the job done... just be carefull.



    Step 1: Open up Terminal.app

    Step 2: Do a "pwd" to verify that you are in your home dir. (if not you can just do a cd, it will bring you home)

    Step 3: change dir to the trash folder "cd .Trash" its case sensitive

    Step 4: do a "pwd" again to double check that you are indeed in the trash folder (it stands for print working directory)

    Step 5: an "ls -a" command will give you a list of all the files (even hidden) so you can check out what you are deleting

    Step 6: !!!!WARNING!!!! This will remove ALL FILES in the current directory without prompting so MAKE SURE YOU ARE IN THE TRASH FOLDER! do a "rm -rf *"

    Step 7: Confirm you deleted everything by doing another "ls -a"

    BAM, your done
    Last edited by grundlepunch; 01-15-2010, 06:57 AM.
    "when I'm riding my motorcycle,I'm glad to be alive...when I stop riding my motorcycle,I'm glad to be alive"

  • #2
    i <3 terminal

    Comment

    Working...
    X