Repo keeps adding .DS_Store files as apk

I am running a repository on my Mac and using the rsync feature to push it to my server. .DS_Store are annoying MacOS metadata files that keep reappearing as apps in my repository. I’m fairly new to Mac, is there a fix for this problem?

rsync can exclude .DS_Store files, right?

macos - How to exclude particular files from being copied by rsync? - Stack Overflow.

Can’t you just delete the .DS_Store files? If not, there does seem some ways to disable their creation. I did a quick internet search, but I don’t use macOS.

I think the issue is that they are being synced. In MacOS you hardly see them (like dot-files in Linux)

So if they are deleted locally, then they won’t be synced

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.