How to delete unnecessary files in MacOS. Class = “Hidden-Xs”> 0 facebook X.com reddit Bluesky
MacOS is a system based on UNIX at its core, and, as such, its arrangement of the file system is more complicated than it first appears. They only need MacOS and most users never need to worry about it
there are also some files that are usually visible in the MacOS on the volume on which it is installed and which are not hidden.
The testimony of hidden files
on the MacOS Finder, you can view the volume of hard drives on the desktop in the desktop in settings- & gt; General- & GT; hard drives and settings- & gt; General- & GT; External discs . There are also parameters for viewing the server and optical storage volumes on the desktop.
, as soon as you turn on these settings, you can view the file system of each volume on the desktop, clicking its icon twice. Each volume will open into the seeker that displays its contents – files and folders.
but hidden on the volume on which MacOS is installed are additional hidden files and folders, as mentioned above. You can show them by opening a volume window in Finder and clicking command-.
You can also include all the invisible files in Finder in all volumes using the Terminal MacOS application and the default command. To find out how to do this, see in our previous article, how to use invisible files in MacOS.
After you show invisible files, if you click the volume icon on which MacOS lives, you will see at the root level of your startup disk with hidden files and visible folders. Now you are ready to look for hidden files and folders for deleting from the initial disk of your Mac.
the root level of MacOS Startup Disk with hidden files. Class = “Col-SM-12″>MacOS and some applications can store small temporary files in places/Private/Var/TMP and/Private/TMP. Most of them can be safely removed if they are not locked (that is, if they have a red circle with a white line).
However, some temporary files in these folders can be used by applications, so first check if they are used before removal.
Most files in the /TMP folders are deleted every time you reboot the Mac.
Another area in which hidden files live in cache folders. Cachies are folders that are stored in reboots using MacOS or applications that improve performance.
This is a good idea to remove these cache from time to time to make them rebuild. It can also reduce the space for the drive, since some cache can only be sometimes.
The main folders of the cache in MacOS are AT/Library/Caches and in the user's home folder (~) in ~/library/cache. Please note that the folder /library in the home folder of the current user is usually also hidden, so you will have to show hidden files to view it in Finder.
Folder ~/Library/Caches can sometimes grow up to ten thousand files or more, depending on how many applications you use regularly.
Folder ~/Library/Cache can grow quite large, and usually safely delete most of everything in this folder that is not blocked or not used. Nevertheless, use caution at the same time.
you can also restart after removing these elements to make MacOS restore them.
Inside the user’s home folder, you can notice that some hidden files and folders create that you rarely or never use. You can safely delete them if they do not contain any configuration files for applications or system services that you use (for example, SSH or code management systems).
logs
most UNIX-based systems contain text files containing magazines that continue every day on each computer. MacOS is no different.
In particular, in MacOS in folders/Private/Var/Logs and Users/~/Library/magazines contain most magazine files. There are also folders of magazines for reports on failures and folders A/Library/Logs/Diagnosticreports. Most (but not all) files in these folders can be safely deleted.
For example, keep in mind that if you use the Apache web server on your Mac, its magazine and error files are in these folders. If you delete them, Apache does not recreat them automatically for you, which means that you can miss errors or information about the journal that Apache can report.
There is also a folder A/Library/Application Support/Crashreporter, which contains files associated with each application that occurs on your Mac. If you are not interested in failure, you can safely delete these files.
You can also view most of these magazine files using the MacOS ' Console application found in the folder/application/utility. Open it and press the magazines on the left that you want to view to see their contents.
User files
there are a number of not hidden files from MacOS if they are not needed. In particular, if you do not want all the images of users and use only a few of them, you can delete those that you do not use the library /user images.
There is also a 23MB Apache Web Server HTML pack, located at/Library/WebSERVER/SHARE/HTTPD/Manual and a general documentation folder at the address/documentation.
Folders/Library and ~/Library contain applications support folders that can be created for the content of files for most applications over time.
If you find that you use only some applications sometimes do not need their configurations, you can usually safely delete units in these folders. Just make sure that they do not contain any long -term file settings that you may need later before you destroy them.
If you use SpotLight, over time, its index files and cache can accumulate on your startup -sometimes reaching several hundred mb. If you want to remove them, look at our previous article on how to stop the search space of the disk on MacOS.
In the folder /library itself there is a cookie folder, which may contain some cookies of cookies stored in web browsers. You can delete cookies in this folder. But keep in mind that if you do this, you can lose some web set settings next time you visit these sites.
also in the folder /libraries-pack of fonts. You can delete any font files contained in this folder, dragging them from the folder to another place for storage. This deactivates and disables them from the font system in MacOS.
If you are a developer, folder/library/developer stores parts of the XCode, its emulators and other related files. If you delete them, you can recreate them by launching Xcode and asking it to reinstall critical files and components.
In addition, keep in mind that some of your developers and signing certificates may be in this folder (all of which you can overload from Apple later).
folders/library/preferences. You can from time to time go through this folder and delete any settings that you do not use.
it is better not to delete any of the Apple files starting with Com.Apple in this folder, since they are used by MacOS and may be required.
utilities
there are many third-party applications and utilities that can “clean” your MAC and most of these files for you. Some of these applications are quite good, but others may have a rather dubious origin.
One excellent application for viewing the total volume of space on each volume-daisydisk ($ 9.99 with a free test) from the Ambience Corp software.
DAISYDISK allows you to view the content of each volume by stick and size, and then decide which folders for removal. After you have chosen all the folders that you want to remove, you can do this with one click in the application.
This makes it a very convenient application for maintenance.
The removal of unused files should accelerate the performance of your startup. Remember that not only how much common space is used on the startup -dissection, which affects performance, as well as how many files are.
in general, a startup disintections with fewer files accelerates the total system performance, since the search for the file system according to the OS is more faster. This is due to the fact that the trees of the Tom files that need to be passed is also shorter.
, as soon as you find out where to look, it is easy to save your startup disk free from additional files and cache that you no longer need, or will rarely use it.