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
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
Comment