When opening the files in the mobile hard drive on Mac, the files are gray. Inoperable
- Open the terminal and enter ls -@eln /Volumes/your hard drive name/
and a bunch of files will appear. - Then enter xattr -d -r com.apple.FinderInfo /Volumes/your hard drive name/*
and wait a few seconds. Then open the hard drive and take a look. The gray color will change to color.
The solution for macos big sur:
For a gray file,
enter xattr -c in the terminal, then drag the file to the terminal and press Enter.
For all gray files in the folder,
it is similar to a single file. In the terminal Enter xattr -c -r, then drag the folder to this terminal and press Enter