
_my-file.txt`` on my Linux system it returned "AppleDouble Macintosh file". I think I will attempt to answer my own question after some research. Mac OS X: Apple Double Format Creates File Name With the Prefix '._' UPDATE 2: I found this explanation of the. Maybe I should just add *._* to my excludes and forget about this? I would not care except that I don't want to fill my Linux system with irrelevant files. It's as if MacOS is determined to set extended attributes one way or the other. Now the original file was back in its original location, but contrary to my expectations, it once again has extended attributes. I figured I could live with that and ran rsync -avX flash_drive_volume original_mac_dir. Rsync: get_xattr_names(.) failed: Operation not permitted (1)īut the good news was that verbose output only showed my-file.txt being sent, not the mysterious. When I tried this with -X I got rsync error: _my-file.txt even though that file had not shown any xattr.
Mac os ext4 mac#
So I deleted the contents of the original Mac directory and tried to rsync -dry-run them back again. At first, ls on the flash drive directory mounted on my Mac showed the file without any xattr. So I ran a test where I used rsync from a Mac directory into an empty directory on the flash drive. UPDATE: I wondered if my problem was created by initially copying directories from my Mac to my flash drive and then to my Linux system. I am new to Linux/Ubuntu/Pop, but my goal is to make it my main OS. I can probably work around this problem by excluding *._*, but I would rather understand why this is happening. I have tried rsync dry runs with the -X option with and without -filter='-x! user.*' (although I admit to not completely understanding the concept of user namespace). _exclude-files.txt along with the actual file. When I mount the flash drive on my Linux laptop, I do see. _exclude-files.txt but I do see the following xattr list: 15 If I run ls on the flash drive mounted on my Mac, I do not see that. If a Mac file has any extended attributes, they appear on the FAT flash drive and my Linux system as hidden files, eg. I am excluding the following patterns since I assumed they are only relevant to Mac: *.DS_Store* My command is rsync -av -exclude-from='exclude-files.txt' source-dir destination-dir I am using rsync between Mac 10.13 (APFS) and Pop_OS (ext4) with a flash drive as transfer medium (FAT).
