I love my Mac and how things generally just work. Now and again, however, one finds a few annoyances. My latest one is that I cannot find a refresh button anywhere to update a file listing in a Finder window.

Please note that I am aware that refreshing is generally not needed as new files are automatically added to Finder windows. In my case I have a NAS on my network, and to update a file listing in a NAS folder I currently need to change directory to somewhere else and then back again to see new files.

Is there a way to request an updated file listing in a Finder window?

up vote 41 down vote accepted

Yes!

A simple AppleScript can tell the Finder to tell its front window to update every item. Such an AppleScript can be saved as an Application and then dragged to the Finder toolbar to give you a refresh button

The AppleScript you need is quite simple:

 tell application "Finder" to tell front window to update every item
  • 10
    Just as a footnote: In Macericks you need to press [cmd]+[alt] as you drag the app to the Finder toolbar. This is an excelent answer (just used it and works great) – Barranka Nov 14 '13 at 21:07
  • 1
    Indeed, Daniel's solution works great. Although I wish there was a way to run the script without having the AppleScript open. Also thanks to Barranka for the hint about pression CMD and ALT keys. – t0r0X Feb 2 '14 at 0:26
  • Thanks for this workaround. Maybe I create a daemon which runs this script once per second (but that's not very power efficient), although that polling approach is not very power efficient, would prefer Finder to automatically properly update based on file system events. Isn't there a fix for this? (Erasing com.apple.finder.plist and .DS_Store in affected folders did not fix it for me). – porg Mar 6 '14 at 11:43
  • 1
    I have tried this example in yosemite with no luck. Does this still work for you? – Chris Hough May 22 '15 at 19:21
  • 6
    Great answer, just to make the things a bit clearer: this still works in Sierra. You should paste the content of the answer in Script Editor, then use Export -> Application. THAT executable should be dragged, with cmd+alt, to the finder toolbar (the top bar, not the sidebar) – Alan Franzoni Sep 14 '17 at 16:45

To relaunch the Finder:

  1. Hold the Option key and right-click the Finder icon in the Dock, then select Relaunch.
  2. Press Option-Command-Escape or choose Force Quit from the Apple menu, then select the Finder and click Relaunch.
  3. Log out and log back in to your user account.
  • 3
    nowhere near as elegant as simply refreshing the window – Tetsujin Jan 10 '15 at 14:04
  • 2
    This sounds insane, I cannot believe this is considered a solution. – Sébastien Oct 17 '16 at 8:32

I've noticed that changing the view in Finder seems to refresh the content of the Finder window. What I mean by changing the view is going from e.g. Icon view to List. I've not done any extensive testing, but it did the trick for me last night when I copied a file into the NAS box in the Terminal, while the directory I copied the file into was also open in Finder.

If it's a remote server, sometime one has to reconnect to refresh the file list.

This worked for me on El Capitan

http://www.macupdate.com/app/mac/24714/refresh-finder

  • Also this 'applet' doesn't work with El Capitan – GlennG Jul 21 '16 at 11:12

protected by bmike Nov 26 '17 at 1:23

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.