in Technology

Refresh Finder view in Mac OS

I am on this MacBook and need to connect to Linux and Windows servers very often. I connect over Samba (SMB protocol), but there is one annoying thing about this. The Finder does not refresh the item list. I have seen that happen even while I am browsing local files. So did a Google search today and found a small AppleScript that can do the job. Taking this from here.

Open Script Editor (From Applications – AppleScript) and paste the following code.
tell application "Finder"
tell front window
update every item with necessity
end tell
end tell

Run it once to see that it refreshes the view in the top most window in Finder. You can now save it as an application in the Application – Utilities folder. I named it Refresh. You can now put this app on your dock / sidebar or any other place and call it conveniently. I dragged it and placed it right next to the view options drop down in the Finder window.

Problem Solved! Thanks to Eric for the script!

Write a Comment

Comment

  1. where is the script the url wes broken, please you upload, script.
    until this type, i can’t do work with Mac Os 9.2 to connect samba server on my slackware 12.0

    thanks

  2. The link in the blog post does not work anymore. You can just copy paste the code (in green) and create a new script via Script Editor.

    Like I said, you can save it as an application and put it on your dock too!

  3. This still works in Mountain Lion, although I saved it from the Applescript Editor as an App and then added it to my Sidebar (Cmd-T)
    Now I can run it any time from any folder.

  • Related Content by Tag