MacOS - Enable folder preview (X-Ray mode) in QuickLook

December 2016


To enable the QuickLook X-Ray mode under MacOS, follow the below procedure:
  • Open a terminal and type the following command:
  • defaults write com.apple.finder QLEnableXRayFolders 0

To disable this feature:
  • Open a terminal and type the following command:
  • defaults write com.apple.finder QLEnableXRayFolders 1

Related :

This document entitled « MacOS - Enable folder preview (X-Ray mode) in QuickLook » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.