You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mac doesn't see all the files on external drive

I have a 2TB, ExFAT hard drive with ripped DVDs as .mkv. When I mount the drive in mac, some of the video files are missing from the folders. They are visible in Windows and Linux. When I open the drive in a Linux terminal and do 'ls', some of the filenames are different colours and those seem to be the ones missing.

MacBook Pro 14″, macOS 13.4

Posted on May 31, 2023 1:03 PM

Reply
Question marked as Top-ranking reply

Posted on May 31, 2023 1:59 PM

First off, let's clarify something: those different color filenames you're seeing on your Linux terminal often indicate different types of files. A different color could be related to things like file permissions, which may be why your Mac isn't seeing all of them.


One possible solution to your problem is to adjust the file permissions. Here's how you could do this:


1. First, connect the hard drive to your Linux machine.

2. Open Terminal.

3. Navigate to the drive's location using `cd` command.

4. You can modify permissions using the `chmod` command. For example, to give read, write, and execute permissions to everyone for a specific file, you could use `sudo chmod 777 filename`.


Please note, replace "filename" with the name of your actual file. Do this for all the problematic files. If you have lots of files, there are commands to do this in bulk as well.


Once you've done that, try connecting the hard drive to your Mac again and see if you can view the previously invisible files.


Note: Keep in mind that macOS does support ExFAT format, but sometimes there might be inconsistencies due to different implementations of ExFAT between different operating systems. In such cases, you could consider reformatting your external drive to a more universally friendly format like FAT32, although it has file size limit of 4GB.


For more information about changing file permissions in Linux, check out this article:


Also, here's an article explaining how to format a drive in different file systems using Disk Utility on Mac:


Remember to backup your files before proceeding with any formatting actions.

2 replies
Question marked as Top-ranking reply

May 31, 2023 1:59 PM in response to matgaj24

First off, let's clarify something: those different color filenames you're seeing on your Linux terminal often indicate different types of files. A different color could be related to things like file permissions, which may be why your Mac isn't seeing all of them.


One possible solution to your problem is to adjust the file permissions. Here's how you could do this:


1. First, connect the hard drive to your Linux machine.

2. Open Terminal.

3. Navigate to the drive's location using `cd` command.

4. You can modify permissions using the `chmod` command. For example, to give read, write, and execute permissions to everyone for a specific file, you could use `sudo chmod 777 filename`.


Please note, replace "filename" with the name of your actual file. Do this for all the problematic files. If you have lots of files, there are commands to do this in bulk as well.


Once you've done that, try connecting the hard drive to your Mac again and see if you can view the previously invisible files.


Note: Keep in mind that macOS does support ExFAT format, but sometimes there might be inconsistencies due to different implementations of ExFAT between different operating systems. In such cases, you could consider reformatting your external drive to a more universally friendly format like FAT32, although it has file size limit of 4GB.


For more information about changing file permissions in Linux, check out this article:


Also, here's an article explaining how to format a drive in different file systems using Disk Utility on Mac:


Remember to backup your files before proceeding with any formatting actions.

Aug 7, 2023 10:33 AM in response to matgaj24

If your issue only happens with files with special, accented characters, check this:

https://www.reddit.com/r/MacOS/comments/12nysbk/files_with_accented_characters_not_opening/


Excerpts:

An accent can be written "using just a single character is called NFC, and using combining characters and such is called NFD"

"This is due to a normalization (not encoding) bug in Ventura 13.3 and 13.3.1 which is preventing NFC-normalized files from opening."


And for the "techiest" ones:

https://unicode.org/reports/tr15/


If your Mac can at least show files in the terminal, you can try to rename them adding some character, then renaming them back to their original name; in my case, I couldn't see them in file browser, and the terminal showed some error on these files, so this was not possible.


However, by zipping all the files on Linux, it made the accents uniform (NFD, I suppose - what I can say is that, in a terminal, visually, the accent would all be smaller, the 1st version in the picture below):


and I could transfer it via a USB drive onto a Mac and read all the files properly this time.

Mac doesn't see all the files on external drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.