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 those deposited under
/Library/Receipts.-
open Opens a file or directory. See Section 1.7 in Chapter 1.
-
pbcopy Copies standard input to the clipboard.
-
pbpaste Sends the contents of the clipboard to standard output.
-
pstopdf Convert EPS and PS files to PDF format.
-
screencapture Takes a screenshot of a window or the screen.
-
sips Scriptable image processing system for altering image files. (See Appendix B for more information.)
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