4.1

Table Of Contents
Chapter 6 Work smarter 105
This table shows command options for conguring shared computers:
Submission command option Description
-resetBackgroundProcessing [cancelJobs]
Resets background processing and optionally cancels
queued jobs.
-requiresPassword [password]
Requires a password to share this computer.
-noPassword
Turns o the password requirement.
-sharing <on | off>
Turns sharing of this computer on or o.
-instances <number>
Enables additional Compressor instances.
-networkInterface <bsdname>
Species which network interface is used. If all” is
specied as a
<bsdname>, all available network
interfaces are used.
-portRange <startNumber> <count>
Species the starting port range and the number of
ports to use.
Example: Compressor commands
The following are examples of code used for submitting common Compressor commands.
Important: If youre using an image sequence as a source le, you must use a URL for the path in
-jobpath.
Submit a job
The following command submits a job.
Important: The command below must be executed on one line.
/Applications/Compressor.app/Contents/MacOS/Compressor
-batchname "My First Batch" -jobpath ~/Movies/
MySource.mov -settingpath ~/Library/Application\
Support/Compressor/Settings/Apple\ Devices\ HD\ \
(Custom\).cmprstng -locationpath ~/Movies/MyOutput.m4v
What this command does:
Identies where Compressor is located
Assigns the batch name “My First Batch” (The quotation marks are used because of the spaces.)
Finds the le “MySource.mov for the job at ~/Movies
Uses the Apple Devices HD (Custom)” setting at ~/Library/Application\ Support/Compressor/
Settings (The “\” character is used to retain the space in Application Support.”)
Writes the output le, “MyOutput.m4v,” to the ~/Movies folder
67% resize factor