If you just noticed a DS_store file on your Mac, you are probably wondering what is it. Here, we are going to explain that, and we are going to show you how to get rid of such files.
DS_store files are created automatically on your macOS. These files can be found in your system folders and their purpose is to help your Mac maintain the folder’s display settings. DS_store files are created by Finder, and they contain all of the information about the folder – window’s position the last time it was opened, the size and shape of the window, icon positions, and more.
Now, you may think that these files could take a lot of space on your Mac, but it’s the opposite. They barely take any space. In addition, these files can’t cause any harm to your Mac. The only time these files can cause unexpected issues is when you are transferring the files from your Mac to some other system, such as Windows or Linux.
How to delete the DS_Store file
You can manually delete the files using the Terminal. Here is how:
- Navigate to Applications > Utilities > Terminal
- Find the folder where the DS_Store you want to remove is
- Now you need to type cd into the Terminal and add the folder path right after that so it may look like this cd /Users/username/foldername
- Press Enter
- Type the following command find . -name ‘.DS_Store’ -type f -delete
- Press Enter
The DS_Store files in the folder are now gone.
With tools like the ones we mentioned, you can clean these files, junk files, duplicate files, and more.
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting products and updates to your email inbox.
Thank you for subscribing.
Something went wrong.