Including files and folders for cleaning with CCleaner for Mac

Note: this article is relevant to version 1.18.30 of CCleaner for Mac and below.
You can also find helpful information about the latest version of our macOS app.


You can choose specific files, file types, and folders to be included in CCleaner for Mac operations.

Note: If you add an Include rule, the Custom Files and Folders check box has to be selected on the OS X tab of the Cleaner pane (it's under Advanced). This will be checked automatically for you when you add a new file or folder.

The easiest way to include items you want to clean (for example, log files or caches) is to select items in the Cleaner window that you want to clean. Then, use the Options section to include additional files, folders, and file types to be scanned by CCleaner.

You can add as many Include rules as necessary by repeating the following process.

To include files or folders in the Cleaner process:

  1. In the left pane of CCleaner for Mac, click Options, and then click Include
  2. Add a new include rule by clicking Add
  3. Work with the Include dialog box as follows:

To Work with the Include Dialog Box




To choose a volume or folder to include, select Volume or Folder, click Browse and then click the volume or drive.

To choose a file to include, select File, click Browse and then click the file. If you choose a single file, you can only add one file per rule.

File Types

This selection is only relevant when you have selected Volume or Folder.

By default, CCleaner will include all files in the selected volume or folder. You can choose to include only files of a certain type. To do so, click File Types: and type one or more file extensions. For example,

  • *.tmp to include all .TMP files
  • *.log;*.txt to include all .LOG and .TXT files


This selection is only relevant when you have selected Volume or Folder and have selected a folder or a volume.

If you select Include files only, CCleaner will only delete files located in the folder you have included.

Selecting Include files and subfolders will cause CCleaner to search all subfolders within the selected folder for the files to be deleted. CCleaner will also delete any empty folders it finds within the selected folder.

Finally if the Include files, subfolders and the folder itself option is selected CCleaner will first delete all the files that match the criteria, just like in the previous option and after that will delete every empty folder within the included one (and the included one, if it ends up empty after the cleaning).


Need to find your product license key?

Go to our license lookup page and enter your registered email address to retrieve info about your products, including product download links, license key(s), and expiry dates.

Send me my license details

Articles in this section