Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Greg Starkins
Courses Plus Student 4,905 PointsDifferent files for Mac
This may be stupid question, but only ever having used Mac a handful of times, I'm clueless.
When I download project files from Treehouse, some have a folder saying _MACOSX
. Obviously I looked in it and the only difference I could see was that there were no html files and the other files had ._
written just before the filename.
My question is; Why is this?
Many thanks, Greg.
1 Answer

Dino Paškvan
Courses Plus Student 44,108 PointsThe __MACOSX
folder contains metadata and indexing data which is created by OS X automatically. In OS X, they're hidden, unfortunately, on other operating systems, they show up and often confuse users. Sometimes they slip through when you create zip archives.
You can delete that folder — the only thing you can divine from it is that the original archive was created on a Mac. :)
Greg Starkins
Courses Plus Student 4,905 PointsGreg Starkins
Courses Plus Student 4,905 PointsSo if I was to get a Mac one day I could still view my old project files I downloaded on PC on my new Mac?
Dino Paškvan
Courses Plus Student 44,108 PointsDino Paškvan
Courses Plus Student 44,108 PointsYes. Even if you remove them and then copy the folder to a Mac, the OS would just re-generate them.
Greg Starkins
Courses Plus Student 4,905 PointsGreg Starkins
Courses Plus Student 4,905 PointsThanks Dino! :)
James Barnett
39,199 PointsJames Barnett
39,199 Points>
Even if you remove them and then copy the folder to a Mac, the OS would just re-generate them.I believe this is incorrect. Some extended attributes will be re-created like finder info. However in the case of applications, critical information is stored in the extended attributes. The only way to know for sure is to check if a file still works on a Mac after you delete the info.
A cleaner solution is to mark the
__MACOSX
directory as hidden on WindowsThat being said, it's unlikely that any of code or image files downloaded from Treehouse actually have extended attributes that are necessary.