

The application will terminate itself after saving. Saves the results to a CSV file after the scan or search is finished. Example:Ĭreating snapshots may require administrative privileges. In the following example, this option will only include only files created during the last eight days in the scan:Ĭreates a snapshot for the drives that are given after this command line paramter. This option will include only files in the scans, which were created during the number of days entered in the argument. Treesize /SEARCH:Start /SCAN "C:\" /COPY "C:\temp\ObsoleteFiles" The following command will search on your local drive C: using the latest search options and copies the search results to the folder "C:\temp\ObsoleteFiles": This option can only be used in combination with the command line option /SEARCH.Ĭopies the results of a TreeSize file search to the target location. The second file ("c2.xml.zip") will be compared to this expanded scan file, just like it would happen, if "c2.xml.zip" was compared to a "real" scan. The /OPEN command prepares the comparison of the two files by expanding the first file ("c1.xml.zip") into a scan file. Treesize /OPEN "C:\ Reports \ TreeSize \c1.xml.zip" /COMPARE "C:\Reports\TreeSize\c2.xml.zip" "c1.xml.zip" and "c2.xml.zip" by using this command : Treesize /SCAN "C:\" /COMPARE "D:\Backup_of_C"Īlternatively, you can compare two already existing XML reports e.g. The following example scans drive C:\ and additionally uses the path D:\Backup_of_C to perform a comparison between the two: The given path will be compared with the current scan result. Instead of an XML file, you can also use a path with this command line parameter. Treesize /COMPARE "C:\Reports\TreeSize\c.xml.zip" /SCAN "C:\" The following example scans drive C: and compares the result with a saved XML report for this drive: Treesize /SCAN "C:\" /BARCHART "C:\Documents\c.png"Ĭompares the scanned path with a saved XML report. This example creates a PNG image file of the bar chart for your local drive C: The file type depends on the extension of the specified file name. Saves the bar chart of the scanned directory to a bitmap, GIF, PNG, or JPEG file. TreeSize.exe /SCAN "F:\" /EMAIL /ATTACH /EXCEL "C:\Temp\test.xlsx" These examples will attach the Excel file to the email: TreeSize.exe /SCAN "F:\" /EMAIL /EXCEL "C:\Temp\test.xlsx" This example will export to an Excel file but not attach it to the mail: This is useful in case you XML or Excel files are getting quite large and fill up you email account. If not specified, files with an explicitly given path are not attached. If specified, all exported files will be attached to the email. Treesize /ARCHIVEBITFILESONLY /SCAN "\\Server\Backup\This"

In this case, you can create a shortcut on your desktop or in your start menu that will automatically start calculating the size of your backup. This option can be very useful if you want to calculate the size of a backup.
#TREESIZE FREE ALTERNATIVE ARCHIVE#
This option will include only files for which the archive bit set in the scans. Treesize.exe /SCAN "C:\" /APPENDTOFILES False /TEXT "C:\Export.csv" Treesize.exe /SCAN "C:\" /APPENDTOFILES True /EXCEL "C:\Export.xlsx" /SHEETNAME "test"

When exporting to an Excel file via /EXCEL, this parameter can be used together with /SHEETNAME to append the data to the specified sheet. You can use the switch /DATE to ensure that all generated reports will have a unique file name.
#TREESIZE FREE ALTERNATIVE PDF#
Please note: This parameter will not work with exported images, XML and PDF files. Select "True" to append and "False", if you want to overwrite existing files. With this option, you can select whether or not TreeSize should append its output to existing files when doing an export, e.g. Treesize /SCAN "C:\" /AGEOFFILES "C:\Documents\c_file_ages.jpg" The following example creates a JPEG image file of the"Age of Files" graph for your local drive C: Saves the graph on the "Age of Files" tab of the scanned directory to a bitmap, GIF, PNG, JPEG, Text, or CSV file.
