Description: How to scan hidden folders.
Keywords: how to, scan, hidden folders

# How to scan hidden folders

When GrandPerspective scans a folder, it will include all files and folders that the user is allowed to access. This includes hidden files and folders (e.g. files whose name start with a dot such as `.DS_Store` files). However, if you only want to scan in the contents of a single hidden folder, e.g. the `.Trash` folder in your home directory, this is a bit more complicated, as by default hidden files are not shown in the Scan folder dialog. You can do one of the following to scan a hidden folder:

- The first option is to use the ⇧⌘. keyboard shortcut in the Scan folder dialog. This toggles whether hidden files and folders are shown or not. When they are shown, you can select any hidden folder to be scanned.
- Alternatively, you can change the preferences so that hidden files and folders are by default shown in the Scan folder dialog. To do so, you have to set `AppleShowAllFiles` to `true` in the GrandPerspective user defaults. This can be done in the Terminal by entering the following: `defaults write net.sourceforge.grandperspectiv AppleShowAllFiles -bool yes`. Please make sure that GrandPerspective is not running when you do this, otherwise there is a chance that the change will be undone by the application.