This example finds all the root home folders in a particular location.  Then one by one looks inside of them to find old files to be deleted…but keeps the parent home folder.  To do this it uses a trick to export to a text file the list of root folder names, then reads that back in and uses that list to process each one, one at a time.


[attachments|Root_folder_contents_cleanup.png]

[attachments|folder_monitor.png]