Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Recurring Finder Problems; & Folders That Appear Empty But Aren't

After crashing and obtaining a new computer (and then learning that my crashes likely related to a Seagate backup drive), I’ve done mishmash restores from assorted backups (made when I was trying to save stuff in fear that I'd permanenty lose this stuff if I didn't) and a couple of external drives. Very bad idea. Next I tried to delete duplicates from my new and old computer, and from the external drives' backups (or clones or whatever) that had been moved and transferred to my new computer. Another very bad idea. (For the duplicates, I used Araxis Find Duplicate File.)


Now, my finder continues to be unresponsive. I also have several folders that in finder windows appear empty, but actually turn out to have lots of files within.


I’ve used internet recovery disk utility and terminal on the recovery partition to reset password (both by entering a password and not, by just simply clicking ‘reset’), permissions, and ACLs. I’ve reinstalled Mountain Lion. I’ve also tried various terminal commands I saw on Apple Discussions relating to finder problems.


Help. Please. Thank you!

Mac mini, OS X Mountain Lion (10.8.2)

Posted on May 3, 2013 11:18 AM

Reply
Question marked as Best reply

Posted on May 3, 2013 1:14 PM

Try booting into the Safe Mode. Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart. For each disable/delete, you will need to restart if you don't do them all at once.

Safe Mode


Safe Mode - About

21 replies
Question marked as Best reply

May 3, 2013 1:14 PM in response to Susan Swartz1

Try booting into the Safe Mode. Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart. For each disable/delete, you will need to restart if you don't do them all at once.

Safe Mode


Safe Mode - About

May 4, 2013 7:42 AM in response to Linc Davis

Good question (which I guess is why you asked it).


At times when I was 'fighting' with the finder, occasionally the windows would 'flicker' and the folders would show numerous files, before stabilizing into a freeze/crash with the folders showing zero files. (My guess is that these are from some backup?)


Also, perhaps unrelated, I did a lot of 'Spotlight Find File: Kind' for folders with zero items within. When transferring these folders from my new computer to my old one for trashing (there's often a reason even if it’s a bad one…), the number of items being transferred showed as exponentially more (i.e., hundreds/tens of thousands) than the total number of folders actually being transferred.

May 4, 2013 9:00 AM in response to Susan Swartz1

Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

First, empty the Trash.

Triple-click the line below to select it, then copy the selected text to the Clipboard (command-C):

find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

Launch the Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

The output of this command, on a line directly below what you entered, will be a number such as "41." Please post it in a reply.

May 4, 2013 12:37 PM in response to Susan Swartz1

Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.

This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.


Step 1

If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.

Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

{ sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null

This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

Step 2 (optional)


Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.

Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.

When the OS X Utilities screen appears, select

Utilities Terminal

from the menu bar. A Terminal window will open.

In the Terminal window, type this:

res


Press the tab key. The partial command you typed will automatically be completed to this:

resetpassword


Press return. A Reset Password window will open. You’re not going to reset a password.

Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

Select your username from the menu labeled Select the user account if not already selected.

Under Reset Home Directory Permissions and ACLs, click the Reset button.

Select

Restart

from the menu bar.

May 6, 2013 6:20 AM in response to Linc Davis

I'm back.


Did something wrong again, & now am getting the message "Your Mac OS X startup disk has no more space available for application memory." I clicked Real Mem in Activity Monitor after getting this previously before everything froze, and 'Finder not responding' showed up at the top as using the most memory. Help again, pleeeease?


Also, having read lots of your posts over time, I major agree with Paul_31.

May 6, 2013 6:49 AM in response to Susan Swartz1

Please read this whole message before doing anything.

This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac.


These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing.


Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects.


Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands.


Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.


Step 1


Triple-click the line of text below to select it:

kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit

Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. You can then close the TextEdit window. No typing is involved in this step.

Step 2


Repeat with this line:

sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' | open -f -a TextEdit

This time you'll be prompted for your login password, which you do have to type. It won't be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.


Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step.


Step 3

launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' | open -f -a TextEdit

Step 4

ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null | open -f -a TextEdit

Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting.


Step 5

osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null | open -f -a TextEdit

Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output.


You can then quit Terminal.

May 6, 2013 8:18 AM in response to Linc Davis

Step 1 open_A9oKUN7o.txt

com.Logitech.Control Center.HID

com.Logitech.Unifying.HID Driver


Step 2 open_HOv4JF5C.txt

com.syniumsoftware.CleanAppDaemon

com.sharpcast.xfsmond

com.freemacsoft.appcleanerd

com.cleverfiles.cfbackd

com.bresink.system.securityagent3

com.bombich.ccc

com.adobe.fpsaud


Step 3 open_MHbtT8Fp.txt


com.evernote.EvernoteHelper

com.cleverfiles.SmartDaemon.MR

com.github.norio-nomura.SIMBL-Agent

com.brother.LOGINserver

ws.agile.1PasswordAgent

com.vemedio.Snowtape.RadioAgent

com.macupdate.desktop5.scanner

com.adobe.ARM.de23d1e3aa2d00ce38d73f10fcbdc8dcaaaf6be989610710a1ddda77

May 6, 2013 9:34 AM in response to Linc Davis

Step 4


ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null | open -f -a TextEdit/Library/Components:


/Library/Extensions:

VBoxDrv.kext

VBoxNetAdp.kext

VBoxNetFlt.kext

VBoxUSB.kext


/Library/Frameworks:

AEProfiling.framework

AERegistration.framework

Adobe AIR.framework

AudioMixEngine.framework

EWSMac-GC.framework

EWSMac.framework

MT6Lib.framework

MacFUSE.framework

NyxAudioAnalysis.framework

OSXFUSE.framework

PluginManager.framework

TSLicense.framework

iLifeFaceRecognition.framework

iLifeKit.frameworkls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta} * L*/Fonts 2> /dev/null | open -f -a TextEdit

iLifePageLayout.framework

iLifeSQLAccess.framework

iLifeSlideshow.framework

iTunesLibrary.framework


/Library/Input Methods:


/Library/InputManagers:

Menu Extra Enabler


/Library/Internet Plug-Ins:

AdobeAAMDetect.plugin

AdobePDFViewer.plugin

AdobePDFViewerNPAPI.plugin

Flash Player.plugin

Flip4Mac WMV Plugin.plugin

JavaAppletPlugin.plugin

Picasa.plugin

Quartz Composer.webplugin

QuickTime Plugin.plugin

Scorch.plugin

Silverlight.plugin

flashplayer.xpt

iGetterScriptablePlugin.plugin

nplastpass.plugin

nsIQTScriptablePlugin.xpt


/Library/Keyboard Layouts:


/Library/LaunchAgents:

com.adobe.AAM.Updater-1.0.plist

com.brother.LOGINserver.plist

com.micromat.TechToolProAgent.plist

com.oracle.java.Java-Updater.plist

org.macosforge.xquartz.startx.plist


/Library/LaunchDaemons:

com.DesignScience.DSMTTool.plist

com.adobe.fpsaud.plist

com.barebones.authd.plist

com.bombich.ccc.plist

com.bresink.system.securityagent3.plist

com.cleverfiles.cfbackd.plist

com.freemacsoft.appcleanerd.plist

com.oracle.java.Helper-Tool.plist

com.sharpcast.xfsmond.plist

com.sheepsystems.BookMacster.plist

com.syniumsoftware.CleanAppDaemon.plist

org.macosforge.xquartz.privileged_startx.plist


/Library/PreferencePanes:

Flash Player.prefPane

Flip4Mac WMV.prefPane

Hazel.prefPane

JavaControlPanel.prefPane

Logitech Control Center.prefPane

OSXFUSE.prefPane

TechTool Protection.prefPane

Xmarks.prefPane


/Library/PrivilegedHelperTools:

com.DesignScience.DSMTTool

com.barebones.authd

com.barebones.bbedit

com.bombich.ccc

com.bresink.system.securityagent3

com.freemacsoft.appcleanerd

com.prosofteng.DriveGenius.locum

com.sheepsystems.BookMacster

com.stclairsoft.DefaultFolderXAgent

net.sourceforge.MonolingualHelper


/Library/QuickLook:

DICOMQuickLook.qlgenerator

GBQLGenerator.qlgenerator

WordPerfect.qlgenerator

iBooksAuthor.qlgenerator

iWork.qlgenerator


/Library/QuickTime:

AppleIntermediateCodec.component

AppleMPEG2Codec.component

Flip4Mac WMV Advanced.component

Flip4Mac WMV Export.component

Flip4Mac WMV Import.component


/Library/ScriptingAdditions:

Default Folder X Addition.osax


/Library/Services:

Default Folder X Service.app

Print Selection.service


/Library/Spotlight:

GBSpotlightImporter.mdimporter

LogicPro.mdimporter

Microsoft Office.mdimporter

WordPerfect.mdimporter

iBooksAuthor.mdimporter

iWork.mdimporter


/Library/StartupItems:


/etc/mach_init.d:


/etc/mach_init_per_login_session.d:


/etc/mach_init_per_user.d:


Library/Address Book Plug-Ins:

SkypeABDialer.bundle

SkypeABSMS.bundle


Library/Components:


Library/Fonts:

encodings.dir

fonts.dir

fonts.list


Library/Frameworks:


Library/Input Methods:

Grammarian.app


Library/InputManagers:


Library/Internet Plug-Ins:

Google Earth Web Plug-in.plugin


Library/Keyboard Layouts:


Library/LaunchAgents:

com.adobe.ARM.de23d1e3aa2d00ce38d73f10fcbdc8dcaaaf6be989610710a1ddda77.plist

com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.5987D7AC-36AB-4395-B7B4-92C 95279932E.plist

com.apple.FolderActions.enabled.plist

com.apple.FolderActions.folders.plist

com.macupdate.desktop5.scanner.plist

com.vemedio.Snowtape.RadioAgent.plist

ws.agile.1PasswordAgent.plist


Library/Mail/Bundles:

MailActOn.mailbundle


Library/PreferencePanes:


Library/ScriptingAdditions:

EasySIMBL.osax


Library/Services:

AppDelete.workflow

Convert PDFs to Text.workflow

NoteBookHelper.service


Library/Spotlight:


Step 5


Funter, AppCleaner Helper, HoudahSpotHelper, Logitech Control Center Daemon


_______________________________________________________________________________


I recognize I likely caused this myself (well, I still blame the Seagate drive as the origin) but still, what a time-nightmare.

May 6, 2013 10:10 AM in response to Susan Swartz1

Allow me to explain something. FileVault is a powerful tool, but it's only suitable for advanced users. It deprives you of the ability to boot in safe mode, which is an important means of troubleshooting software conflicts. Therefore, if you're going to use FileVault, you have to keep your system free of potentially troublesome system modifications, especially the useless ones. You have many such modifications.

Your system is so heavily modified that, instead of trying to remove the modifications piecemeal, you should erase your boot volume, reinstall OS X, and then go through the initial setup process, importing only your user data and settings from backup — not applications or other files.

Back up all data to at least two different storage devices, if you haven't already done so. The backups can be made with Time Machine or with a mirroring tool such as Carbon Copy Cloner. Preferably both. You must be certain that you can restore everything to the state it's in now.

First, deactivate FileVault. That will take a few hours. Then boot into Recovery (command-R at startup), launch Disk Utility, and erase the startup volume with the default options.This operation will destroy all data on the volume, so you had be better be sure of your backups. Quit Disk Utility and install OS X. When you reboot, you'll be prompted to go through the initial setup process. That’s when you import the data from one of your backups. For details, see here:

Setting up a new Mac from an old one

Import only "Users" and "Settings" – not "Applications" or "Other files." Don't import the Guest account, if it was enabled on the old system. After that, run Software Update. If you still have the problem, take the machine to an Apple Store or other authorized service provider for hardware testing.

If the problem is resolved after the clean installation, reinstall your third-party software selectively. I can only give general guidelines. Self-contained applications that install into the Applications folder by drag-and-drop or download from the App Store are usually safe. Anything that comes packaged as an installer or that prompts for an administrator password is suspect, and you must test thoroughly after reinstalling each such item to make sure you haven't restored the problem.

Never reinstall crapware such as "TechTool," "Drive Genius," "SIMBL," "AppCleaner," or "CleanApp."

Before installing any software, ask yourself the question, "Am I sure I know how to uninstall it without having to start this process all over again?" If the answer is "no," stop.

Never install any third-party software unless you know how to uninstall it.

Recurring Finder Problems; & Folders That Appear Empty But Aren't

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.