Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Do hidden files copied onto a USB drive from Windows 7 appear as hidden in OS X?

Or does OS X show them as visible?

share|improve this question
Ali, maybe you could select an answer? – Everett Dec 10 '12 at 1:08

Anything that attrib displays with an H on a Windows command line will also be hidden on a Mac via Finder, but will be visible with ls on the command line. In other words, Finder will honor the hidden flag, but the Unix command line will not.

share|improve this answer
How about a file hidden on Windows using the normal Right Click > Properties > Hide way - will it show hidden in a finder? – Ali Nov 27 '12 at 6:01
that is the same hidden flag that attrib will show, so no, it will not show up in Finder. I should also mention that Finder has the ability to view hidden files with a certain option set, just like Explorer, so if that is set, the file will then be visible. – MaQleod Nov 27 '12 at 6:17

If the goal is to create a file that is hidden in Windows AND OS X consider putting a period at the beginning of the folder/directory name or the file name. Here's how to do that in Windows. OS X sees files/folders that begin with a dot (.) as hidden. There's a little work to make this happen in Windows, but the end result will be a hidden file in OS X. Understand that you would still have to set the hidden flag for Windows to see the file as hidden. Also know that anyone that knows to look for the file, could still find it in OS X. This just makes it not obviously there...

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .