Locate ‘Go to Folder’ History in macOS Finder

findermacos

I just searched for a folder with that tool and now I want the 'history' of it cleared. I mean, I don't want it to show the last place(folder) I've gone by that thing.
I tried Relaunching Finder while that window (that asks to enter an address) was open, it worked but only once. Now it doesn't work.(I did this on 10.7 and worked, but it didn't work on 10.8, 10.9 and 10.10)

Best Answer

The location shown for the Go to Folder... command in Finder is stored in the $HOME/Library/Preferences/com.apple.finder.plist file in the GoToField key. To remove it, use the following command in Terminal:

defaults delete com.apple.finder GoToField; killall Finder