plist checker
This is a simple script that will check your plists for corruption. It must be run as root.
#!/bin/sh
# plist_chk.sh

# Check that we are being run as root
if [ $USER != "root" ]; then
  echo "You must be root to execute this script."
  echo ""
  exit 1
fi

find /Library/Preferences -name "*.plist" -print0 | \
xargs -0 /usr/bin/plutil -lint -s
find /Users -name "*.plist" -print0 | \
xargs -0 /usr/bin/plutil -lint -s
Page maintained by d a v e
If this information is useful to you, consider sending me something from my Wish List.

Archive | Home | OS X Tips | Safari Tips | Shell Scripts
This page last modified on 06/17/08