Can the CLI Sync be made to ignore .DS_Store files?
It's not a big thing, but it happens a lot! On Mac OS X there's an invisible file in every directory (.DSStore) that is updated by the OS whenever you interact with files in the Finder. As a result, simple interactions with files trigger a CLI Sync error: [TIMESTAMP] [Sync] Not syncing, file extension if now allowed: marketplacebuilder/views/partials/layouts/modules/module14/.DSStore
I just opened a folder in the Finder. Nothing bad happens. It just presents a bunch of needless red error messages.
Anyway, if there's an exclusion file within the CLI, I'd vote to add that file type/extension to the ignore list.
Log in to comment and vote
Comments6
Mar 21, 2021
Fixed in 1.8.2 - https://developers.siteglide.com/cli-changelog
Mar 19, 2021
Dean Vizer
Mar 19, 2021
Hey Bruce Dunnan
Sure this is something we can add. Just to note that the
.DS_storefile usually only exists when the folder has some form of metadata like an icon or a background image.Are you running CLI in a folder that syncs to a service such as Dropbox or OneDrive? Just wondering why you see it so much more than others is all
Bruce Dunnan
Mar 19, 2021
Hi Dean Vizer, This is all it takes…
Dean Vizer
Mar 19, 2021
Bruce Dunnan: wow, strange! Look out for the fix in the next update though
Bruce Dunnan
Mar 22, 2021
Dean Vizer: All fixed. No more sync errors! (except when I screw up.) :-) Thanks!