Macintosh Tools
You can use the following tools to work with Macintosh files and disks, Macintosh applications, and the Macintosh clipboard.
- bless
Makes a system folder bootable.
- diskutil
Manipulates disks and volumes.
- ditto
Copies directories, and optionally includes resource forks for copied files.
- hdiutil
Manipulates disk images.
- installer
Installs packages; command-line tool.
- lsbom
Lists the contents of a Bill of Materials (bom) file, such as the .bom files deposited under /Library/Receipts.
- open
Opens a file or directory. See “open” under Section 1.5.4, earlier in this chapter.
- pbcopy
Copies standard input to the clipboard.
- pbpaste
Sends the contents of the clipboard to standard output.
- screencapture
Takes a screenshot of a window or the screen.
- serversetup
Configures network adapter properties. (Mac OS X Server only.)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access