/macos-user-image

Set a macOS user's image from the command line.

Primary LanguageShellMIT LicenseMIT

macos-user-image

Tested and working with macOS 10.13 High Sierra and later.

Purpose

Set a macOS user's image from the command line.

Usage

./set-user-image.sh -h

./set-user-image.sh -u USER_TO_UPDATE -i IMAGE_FILE [-p] [-r]

Options

Use ./set-user-image.sh -h to see an explanation of the options and their usage.

Example

Set the image for user miyuki:

./set-user-image.sh -u miyuki -i images/giraffe.jpg -p -r