"cron/paths_cleanup.php" can now take the following arguments:
--deep Cleans all data related to the cleaned/removed file paths. This includes: shares, web links, metadata, comments, labels, stars, file activity logs, thumbnail caches, old file versions, search indexes, previews, etc.
--aggressive Cleans also files that might exist and are accessible by their paths, but their paths are not perfect (for example, using back slashes or multiple consecutive forward slashes).
--remove-hidden Cleans from FileRun database files and folders that start with a dot character.
--path /your/path Limit the process to a particular folder.