I have just set up ROCK on a NUC. I’m very pleased!
I copied all my music from external HDD to an internal SSD drive. I’ve started looking into backing up this internal drive to (among other) the external HDD (for the time being using FreeFileSync on my Macbook).
I now see lots of new invisible files on the internal storage beginning with ._ (eg “._01 - Track01.flac”), all of them 4.096 bytes. What are those files? They were not on the external HDD when I used this with Roon Core running on my Macbook.
Thank you. But why did MacOS not make these files when I had Roon Core running on my MacBook and my music on the external USB HDD?
The ._ files are only made alongside those audio files (formats) that Roon recognize, which made med believe that it was the Roon (ROCK) that made the invisible files.
They’re only created on non-mac formatted volumes, which includes smb shares like Rock. Have a look at BlueHarvest which is a great way to automatically take care of it (including for network shares).
A little history from Apple Support:
Before Mac OS X, the Mac OS used ‘forked’ files, which have two components: a data fork and a resource fork. The Mac OS Standard (HFS) and Mac OS Extended (HFS Plus) disk formats support forked files. When you move these types of files to other disk formats, the resource fork can be lost.
With Mac OS X, there is a mechanism called “Apple Double” that allows the system to work with disk formats that do not have a forked file feature, such as remote NFS, SMB, WebDAV directories, or local UFS volumes. Apple Double does this by converting the file into two separate files. The first new file keeps the original name and contains the data fork of the original file. The second new file has the name of the original file prefixed by a "._ " and contains the resource fork of the original file. If you see both files, the ._ file can be safely ignored. Sometimes when deleting a file, the ._ component will not be deleted. If this occurs you can safely delete the ._ file.
Not the end of the world, of course, but it’d be good to know why they were created in the first place, so that people (perhaps just me :)) don’t need to do things like exclude certain patterns in filenames ("._")
in programs like Beyond Compare so that I know my local music folders are identical to the ones on the Roon Core.
Is the Nucleus creating them because the filesystems are different, perhaps (APFS vs. whatever the Nucleus uses)?
No, the Mac is creating them. In the old days, mac files had data and resource forks which are not needed or supported on other files systems. So the resource fork gets saved as a dot file when copying to a non mac file system. Today its of little to no use. I recommend Blueharvest which takes care of this very well, and automatically Their website also has a far better technical description than I’ve just given. The .DSstore files just contain things like icon position, and are used by the mac finder.