How to delete hidden files under Mac like. trashes file

Source: Internet
Author: User

USB drives and removable hard disks are generated when they are connected to your Mac. Trashes. SPOTLIGHT-V100,.FSEVENTSD and other documents

Every time you insert a Mac, you check for these files, and if not, they are created

In particular, sometimes, in the file to produce some looping files, after deletion, the system will move these files to. In the trashes file

Writing files is hard to delete and takes up a certain amount of space

Most of the networks have methods to deal with these problems, but many of them do not reach the effect of imagery.

You can delete this

The first of these methods

Press the shortcut key? + Space Exhale Spotlight

Type Terminal.app Enter to start the terminal

Copy the commands in 4 enter the terminal paste and enter

Defaults write Com.apple.finder appleshowallfiles TRUE

Locate the hidden folder (beginning with.) in the Finder. + BACKSPACE Delete

Repeat steps. Copy command unhide in 7

Defaults write Com.apple.finder appleshowallfiles FALSE

Expand:

The hidden files in your Mac begin with the.


The second method of

Enter this command under Terminal

Rm-r. Trashes

Similar to other files (file directory)

The third method is the online common method ()

1 Opening the terminal application
2 Input command: sudo (space) RM (space)-R (Space)-F (space) (note that there are spaces behind-f), also note that all lowercase.
3 Drag the file or folder you want to delete into the terminal window with mouse, and many can also be dragged together.
4 then enter in the terminal
5 Enter the current administrator user password. If you don't have a password, enter directly. Note The password is not the root account.
6 The terminal does not have any information indicating successful deletion

How to delete hidden files under Mac like. trashes file

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.