Saving view data
Description: Describes how to save or export scanned data.
Keywords: views, save, load, export, image, text

# Saving and exporting scan results

The "File" menu lets you save and export the contents of views. As a guide, you should save results if you want to load them again in GrandPerspective at a later moment. You should export scan results if you want to use them elsewhere.

## Saving scan results

The Save Scan Data command lets you save all data in the view. Data is saved to an XML file. It does not matter which folder is currently displayed in the view. All files —also those not currently shown in the view— are stored. However, if a filter has been used to create the view then files that have been excluded by the filter will not be stored. Comments that you enter in the text view in the Info tab are stored as well. You can use this to associate useful information with the scan.

The saved data can be loaded into a new view at a later moment using the Load Scan Data command. Saving and loading data be useful for various reasons, amongst which the following:

- You can view and navigate old contents of folders, even when these contents have now changed. Comparing the old contents of a folder with the current contents can be useful to determine why your disk space has suddenly all disappeared. Note: If you are using Time Machine, you can also view the old contents of folders by scanning old Time Machine back-ups,
- You can visualise your hard drive using GrandPerspective at another machine.
- Loading saved scan data is quicker than obtaining the same data by scanning the folder again.

Beware: When viewing loaded scan data, you have to be extra careful using the Delete command. Files or folders that you select for deletion may have different contents than the view suggests; folders may contain more files and files may have changed (in size) as well.

## Exporting scan results

Scan results can be exported in two ways:

- Export As Image can be used to save a TIFF image of the view. The image will be drawn using the Display settings of the view and will show the same folder. The image is a static representation of the data in the view; it cannot be loaded into GrandPerspective again for further exploration. You can, however, upload the image to your blog, email it to friends, or frame it and hang it on your wall :-).

- Export As Text lets you export the data in a text file. Each line in the file corresponds to one file. You can select which properties of the file should be exported. The properties are separated by tabs in the exported file. Experienced users can process, analyse, and manipulate the exported data using shell scripts or other tools.