Solved

Files hidden on MAC

Posted on 2013-11-19
9
355 Views
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.
0
Comment
Question by:xmouser
  • 6
  • 2
9 Comments
 
LVL 7

Expert Comment

by:valmatic
Comment Utility
In the mac world if it starts with a . it treats it as hidden. Was that the case on any of those.
0
 

Author Comment

by:xmouser
Comment Utility
These are just 'normal' files I had on the PC - videos, ISOs, etc. visible fine on PC. Nothing related to an OS file.
0
 

Author Comment

by:xmouser
Comment Utility
Using defaults write com.apple.finder AppleShowAllFiles ON shows them but I can't do anything - open a RAR or ZIP file.
0
 

Author Comment

by:xmouser
Comment Utility
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.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:xmouser
Comment Utility
Which they did. Put the drive back into Windows and changed permissions to 'Everyone' full control - back to the MAC - same behavior.
0
 
LVL 53

Expert Comment

by:strung
Comment Utility
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.
0
 

Accepted Solution

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

Expert Comment

by:strung
Comment Utility
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:

http://forums.macrumors.com/showthread.php?t=368597

Basically you first execute this terminal instruction:

defaults write com.apple.Finder 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 com.apple.Finder AppleShowAllFiles NO

I would suggest you read the linked thread above first.
0
 

Author Closing Comment

by:xmouser
Comment Utility
No one else had the answer.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now