Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
#!/usr/bin/python | |
# | |
# Simple script to batch-rename attached iOS devices according to UUID to name mappings | |
# in a CSV file. | |
# | |
# Usage: rename_devices.py <csvfile> | |
# | |
# | |
# The CSV file should be comma-separated and contain at least the 'udid' and 'name' | |
# fields. Such a CSV can be exported from Configurator. Any additional field will simply |
#!/usr/bin/env bash | |
# ~/.osx — http://mths.be/osx | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |