Resources

Table of contents

  1. Installing ajv
  2. Prevent creation of .DS_Store files on network shares

Installing ajv

To use ajv (often required for metadata validation), you must install npm first.

  1. Install npm:
    brew install npm
    
  2. Install ajv-cli:
    npm install -g ajv-cli
    

Prevent creation of .DS_Store files on network shares

To stop macOS from automatically creating .DS_Store files on network drives, run the following commands in Terminal.

1. Apply the setting:

defaults write com.apple.desktopservices DSDontWriteNetworkStores -boolean true

2 Check if it worked:

defaults read com.apple.desktopservices DSDontWriteNetworkStores

(Should return “true” or “1”)