I have an external USB drive with about 4TB of files on it. These show up in Finder just fine, but when I use terminal it only shows a single file. Even hidden system directories such as .Trashes
aren't visible or accessible. I tried different ways of listing files.
Here is how the disk is formatted:
I have used Disk Utility to unmount then repair the drive. This took about 4 hours and fixed all the reported problems, and rebooted my Mac. The files seem to work fine through Finder apps.
What could be going on?
ls -al
to see hidden/dot files.ls -la
just shows the one file, plus.
and..
but none of the macos files that would be there (ds_store, trashes, spotlight and so on).sudo ls -la
is the same.