Files hidden on MAC

Posted on 2013-11-19
Last Modified: 2013-11-24
I'm moving some files over from my PC to  a new MAC. I'm finding that some of them are hidden. They are a variety of extensions; .iso, zip, .rar, etc. If I do a search on the MAC for them they pop and are visible. I have full admin on the MAC.

The funny thing is that these file extensions are scattered throughout the move and only some folders have these hidden files in them. In each of the folders that have these hidden files I see other folders and files.
Question by:xmouser
  • 6
  • 2

Expert Comment

ID: 39660383
In the mac world if it starts with a . it treats it as hidden. Was that the case on any of those.

Author Comment

ID: 39660388
These are just 'normal' files I had on the PC - videos, ISOs, etc. visible fine on PC. Nothing related to an OS file.

Author Comment

ID: 39660396
Using defaults write AppleShowAllFiles ON shows them but I can't do anything - open a RAR or ZIP file.
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.


Author Comment

ID: 39660406
I can open photos but they are still showing as slightly grayed out - so if I take off the show files I'm sure they will go back to being hidden.

Author Comment

ID: 39660647
Which they did. Put the drive back into Windows and changed permissions to 'Everyone' full control - back to the MAC - same behavior.
LVL 53

Expert Comment

ID: 39660716
Valmatic's point was that if the files names start with a ".", they will be invisible on the Mac. Did the file names in question start with a dot? It has nothing to do with them being system files. It has to do with the difference between Mac and PC naming conventions.

Accepted Solution

xmouser earned 0 total points
ID: 39660732
Changed attrib via cmd in windows and can now see the files.
LVL 53

Expert Comment

ID: 39660757
Let us know if there is a dot at the beginning of the file names.

If not, somehow the "hidden" flag was got set on these files.

There are instructions in this thread on how to use Terminal to reset the Hidden flag:

Basically you first execute this terminal instruction:

defaults write AppleShowAllFiles YES

to turn ALL files visible.

Then you can type the following command into Terminal (But add a space at the end and do not press return)

chflags hidden

Then drag and drop the file that you want unhidden into the terminal window.

After you have dragged and dropped the file into terminal, it should have added the path to the file so the instruction appears something like this:

chflags nohidden /path/to/file.ext

Hitting return will will reset the hidden flag for that one file to nohidden and the file should be visible.

After you have done this to all the files you want to change,  execute the following command to re-hide files (such as system files) that are supposed to be hidden.

defaults write AppleShowAllFiles NO

I would suggest you read the linked thread above first.

Author Closing Comment

ID: 39672387
No one else had the answer.

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
CodeTwo Sync for iCloud ( automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question