Delete files is the most frequent task all over the world of computer. Whenever the files being deleted, it will be automatically sent to the Trash. I think you all know.
However, what happens if the Trash folder is not visible, i.e. there isn’t any Trash folder in your thumbdrive, am I right?
I don’t care, it has nothing to do with me
If you’re not using thumbdrive, then you’re right. However, if you are at this moment using thumbdrive, I recommended using this Terminal language to clear the trashes.
Without doing so, the trashes will accumulate on your thumbdrive and fill up all the free space. I don’t expect that to happen and I think you do too.
I don’t want that happen, so how?
- Open your Finder and go to your Thumbdrive directory
- Click on the OpenTerminalHere icon to open Terminal in that directory
- Type in
ls -laand hit Return
- You will see the filename .Trash inside the list. We want to delete that, therefore key in command line
rm -rf .Trash/and again execute the command line with Return
- Well done. Now we won’t see any trashes left behind.
I accidentally do that to my Mac
If this case happen, your Mac trash can will disappear, i.e. all your deleted files won’t be stored. If you feel this is good for you then leave it like that, if not, follow these steps and you will get brand new trash can.
- Open your Terminal, it can be found inside Application/Utilities/
- Execute a line of command
sudo rm -rf ~/.Trash/
- You will need to enter your account password and no stars will appear when you entered your password (need high level imagination to write down a long password)
- Enjoy your brand new trash can