This is a list of the custom cleanup configuration fields. Keep reading for some usage examples.
The path to the file or folder to cleanup. You can manually enter it, or tap the magnifying glass button to browse the filesystem.
Here you can choose if the selected file is a regular file or a folder. This field is automatically updated if you use the filesystem browser.
These options are visible only if "folder" is selected.
"Whole folder" deletes the whole folder, "files and subfolders" only deletes files and subfolders contained in the folder, while "only files" only deletes regular files contained in the folder.
This option is only visible if "folder" is selected.
If disabled, the tool will only delete files/folders contained in the folder itself, not inside its subfolders. If enabled, the tool will browse all the subfolders of the selected folder, scanning them for files and/or folders.
This setting is especially useful when combined with the "match" fields.
This option is only visible if "files and subfolders" or "only files" are selected.
These options let you decide which files/folders should be deleted based on their names. "Starting with", "containing" and "ending with" can be used individually or simultaneously to match complex file names.
Matches are case-sensitive. If these fields are empty, iCleaner will match all files and/or folders (depending on how you configured it).
Path: /var/mobile/example.txtFile type: regular file
Deletes the "example.txt" file located in /var/mobile.
Path: /var/mobile/exampleFile type: folderFolder setting: whole folder
Deletes the "example" folder located in /var/mobile, and anything that is contained within.
Path: /var/mobile/exampleFile type: folderFolder setting: files and subfoldersRecursive: no (or yes)Match: n/a
Empties the "example" folder located in /var/mobile, without deleting the folder.
"Recursive" is meaningless here, as it will delete everything inside the folder in both cases (because no "match" option was specified).
Path: /var/mobile/exampleFile type: folderFolder setting: files and subfoldersRecursive: noMatch: starting with "cache"
Deletes files and folders with names starting with "cache" inside /var/mobile/example (but not inside its subfolders).
Path: /var/mobile/exampleFile type: folderFolder setting: only filesRecursive: yesMatch: containing "crash", ending with ".log"
Deletes files with names containing "crash" and ending with ".log" inside /var/mobile/example and all its subfolders.
This will delete "aBadcrash1.log", "crash.log", but not "crash.txt" or "pizza.log".