Knowledge Base

TreeSize



Question / Problem

I wish to search from the command line our domain servers looking for large files (>100megs) and older than 90 days and have the results put into an xml file. I want to set it up so it will run automatically, so I do not want to click on the start search button. How do I do this?

Answer / Solution

Start the TreeSize File Search. Please configure the custom file search appropriately, turn off all other search types and save your search options to an XML config file using the "File" menu. You can then call the TreeSize File Search via command line and export the results to a CSV or Excel file:

TreeSize.exe /SEARCH /SAVE D:\Results.xls MySearchOptions.xml

Exporting to an XML file is currently not supported, but planned for a later version.