Created
June 24, 2013 09:21
-
-
Save GrahamWalters/5848822 to your computer and use it in GitHub Desktop.
Reset QuickLook Thumbnail Cache: Open Terminal and run the following commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo find /var/folders/ -name com.apple.QuickLook.thumbnailcache -type d | |
# Enter your password and hit enter (it will not display your password). | |
cd COPY-AND-PAST-THE-ABOVE-OUTPUT-HERE | |
cd ../ | |
sudo mv com.apple.QuickLook.thumbnailcache com.apple.QuickLook.thumbnailcache-BACK | |
# Restart your computer. | |
### If anything goes wrong run the following: | |
sudo find /var/folders/ -name com.apple.QuickLook.thumbnailcache-BACK -type d | |
cd COPY-AND-PAST-THE-ABOVE-OUTPUT-HERE | |
cd ../ | |
sudo mv com.apple.QuickLook.thumbnailcache-BACK com.apple.QuickLook.thumbnailcache |
There's no need to use sudo and run a find, the directory can be found like this:
cd $TMPDIR/../C/com.apple.QuickLook.thumbnailcache/
so you can simply execute:
cd $TMPDIR/../C/com.apple.QuickLook.thumbnailcache/..
There's no need for that, QuickLook has a command for it:
qlmanage -r cache
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First line should look like this:
sudo find /var/folders -name com.apple.QuickLook.thumbnailcache -type d
10th line:
sudo find /var/folders -name com.apple.QuickLook.thumbnailcache-BACK -type d