I have a lot of data and I often find myself copying massive amounts of data from one drive to another. Sometimes during this process, a copy will go bad and will stop. For whatever reason, after I get back to the Finder on my Mac the folder I was attempting to copy is grayed out and inaccessible. It’s very annoying, especially if I’ve copied 700GB of 1.1TB as I don’t want to start the copy process all over again.
What happened? Well, your Mac knows something went wrong so it sets the date the Macintosh was first introduced, January 24, 1984.
So how do you fix the problem?
Change the date of the folder to today or something more reasonable than 1984.
I found two ways to do this after a few searches online.
The first is to use XCode which I’ve found to be the most reliable but it does require you download XCode from the App Store. If you’ve already got it installed, even better.
Run this command, choose a date
SetFile -d 29/08/2014 /Path/to/grayed-out-folder/
Now the folder should be normal and accessible. (You may need to close the Finder window navigate back to it again.)
But if you don’t want to download and XCode you can do try a few other things.
I saw online, you could try change the date by
touch -t 201408291100 /Path/to/grayed-out-folder/
This should change the date, however when I tried to do this it didn’t change the folder as it was still grayed out and inaccessible.
Another approach without XCode is to make a new folder and then move the contents of the grayed out folder into it.
Using the Terminal, go to the root location of the grayed out folder. If the grayed out folder is at /Path/to/grayed-out-folder/, then the root would be /Path/to/
cd /Path/to/ mkdir newdirectory mv grayed-out-folder/* newdirectory/
Hopefully this saves you some time.
17 Replies to “How to fix a grayed out folder on the Mac”
Thank you. It worked for me
Excellent! The first suggestion to change the folder’s date worked for a series of client files that various other Xcode and attr solutions didn’t fix.
What worked for me was :
Step 1: open a new Note on notes app not notepad.
Step 2: drag the folder that is greyed out on to the blank note (may take a few seconds)
Step 3: Double click the folder and there is your files. P.S. copy the files.
Thanks, you saved my day!
An app called FileExaminer allows change of the dates from a GUI
Thanks for the tip. I haven’t used the app but it may be useful to some folks.
Thank you! the SetFile worked for me, touch -t did not! Fortunately I have xcode installed 🙂
Thank you, friend! It really helped.
MAGIC, thanks for rescuing me
Do you know if this issue persists beyond 10.8? Seeing similar things with files and folders on shares. Macs connecting to DFS shares.
Hi, as far as I’m aware this issue does occur beyond 10.8. I haven’t connected using DFS so I’m unaware of any particular issues there.
If you are familiar with command line operations, then just a simple “mv” move to a new folder should fix it. might need sudo too.
Thanks! Moving the files over to a new folder worked.
SetFile worked perfectly for me where touch didn’t, thanks for your help
I just discovered that mine was grayed out because there was an apostrophe in the folder name E.G. ” Folder Name’s “.
Simply removing the apostrophe fixed the issue for me. Your mileage may vary.
Had to DL Xcode, but worth it! Had some old back-ups that I no longer have access to.
Also, CMD+D (Duplicate) the folder and it will make a workable copy, as the dupe folder will have a ‘now’ creation date.
Still trying to find out myself why….