MacOS – Copy/Paste creates a hidden files

copy/pastemacosusb

I have a copied music files to USD drive, but after copy/paste, the files are hidden. For example, in Finder:

Console:

enter image description here

And in hidden file there are a many attributes.

Example:

com.apple.quarantine^@^@^@^A^K^@^@^@�^@^@%com.apple.metadata:kMDItemWhereFroms^@0001;53419077;Google\x20Chrome;BFE9A983-768C-4B56-BC4F-1A2B69A72963bplist00�^A^B_^P9

How can I can a disable the hiding of files for coping/pasting files?

Best Answer

These are AppleDouble files. As you discovered by opening them, they contain metadata for the files that you copied.

Since the disk is formatted as MS-DOS, OS X needs somewhere to store certain metadata for the file. This metadata is stored in an AppleDouble file. Such metadata includes Finder information and extended attributes.

These files begin with a dot, so are hidden. You shouldn't unhide these files, or modify them. You can remove AppleDouble files using dot_clean -m