Cp Com.microsoft.office.licensingv2.plist Library Preferences Instant

Cp Com.microsoft.office.licensingv2.plist Library Preferences Instant

PERMS=$(stat -f "%Lp" "$PLIST_PATH") if [ "$PERMS" -ne 644 ] && [ "$PERMS" -ne 600 ]; then echo "$(date): WARNING - Incorrect permissions: $PERMS, fixing..." >> $LOG sudo chmod 644 "$PLIST_PATH" fi

Save the license state before a clean reinstall. PERMS=$(stat -f "%Lp" "$PLIST_PATH") if [ "$PERMS" -ne

for USER in $(ls /Users); do cp /path/to/master/license.plist /Users/$USER/Library/Preferences/com.microsoft.office.licensingv2.plist chown $USER:staff /Users/$USER/Library/Preferences/com.microsoft.office.licensingv2.plist done PERMS=$(stat -f "%Lp" "$PLIST_PATH") if [ "$PERMS" -ne

cp /backup/location/com.microsoft.office.licensingv2.plist ~/Library/Preferences/ PERMS=$(stat -f "%Lp" "$PLIST_PATH") if [ "$PERMS" -ne