首页 > 其他分享 >DropDMG 命令行工具使用文档

DropDMG 命令行工具使用文档

时间:2024-06-17 10:57:25浏览次数:25  
标签:DropDMG 命令行 -- image dropdmg 文档 file name

dropdmg(1) DropDMG dropdmg(1)

NAME
dropdmg - Command-line Interface for DropDMG

SYNOPSIS
dropdmg [options] file...
dropdmg(1) DropDMG dropdmg(1)

NAME
dropdmg - Command-line Interface for DropDMG

SYNOPSIS
dropdmg [options] file...

   dropdmg --burn-image file...

   dropdmg --burn-file file...

   dropdmg --version

DESCRIPTION
The dropdmg tool lets you use the command line to create disk images and
archives with DropDMG. If you specify no options, DropDMG will create a
plain zlib-compressed .dmg image.

   The output is the paths to the created files/folders.

   Names of configurations, licenses, and layouts are case-sensitive.

OPTIONS

   --config-name=<name>, -g
          The name of a collection of DropDMG settings. You can still
          specify additional parameters to override the values in the
          configuration. If "" is specified, uses the current configuration
          chosen in the preferences.



   --always-create , -t
          Wrap a disk image or archive using the specified format, rather
          than converting.



   --format=<format>, -f
          zlib, bzip2, lzfse, lzma, ro, sparsebundle, sparseimage, rw,
          tar.gz, tar.bz2, tar, zip, master, hybrid, ndif, ndifro, ndifrw



   --encryption=<encryptionType>, -c
          none, aes-128, aes-256



   --passphrase=<passphrase>, -h
          The passphrase for an encrypted image. Prompts if you use -c
          without -h.

dropdmg(1) DropDMG dropdmg(1)

NAME
dropdmg - Command-line Interface for DropDMG

SYNOPSIS
dropdmg [options] file...
dropdmg [options] file...

   dropdmg --burn-image file...

   dropdmg --burn-file file...

   dropdmg --version

DESCRIPTION
The dropdmg tool lets you use the command line to create disk images and
archives with DropDMG. If you specify no options, DropDMG will create a
plain zlib-compressed .dmg image.

   The output is the paths to the created files/folders.

   Names of configurations, licenses, and layouts are case-sensitive.

OPTIONS

   --config-name=<name>, -g
          The name of a collection of DropDMG settings. You can still
          specify additional parameters to override the values in the
          configuration. If "" is specified, uses the current configuration
          chosen in the preferences.



   --always-create , -t
          Wrap a disk image or archive using the specified format, rather
          than converting.



   --format=<format>, -f
          zlib, bzip2, lzfse, lzma, ro, sparsebundle, sparseimage, rw,
          tar.gz, tar.bz2, tar, zip, master, hybrid, ndif, ndifro, ndifrw



   --encryption=<encryptionType>, -c
          none, aes-128, aes-256



   --passphrase=<passphrase>, -h
          The passphrase for an encrypted image. Prompts if you use -c
          without -h.



   --segment-size=<megabytes>, -s
          0 means don´t segment. (defaults to 0)



   --layout-name=<name>, -y
          The name of a layout in the preferences window.



   --layout-folder=<folder>
          The path to a layout folder stored outside DropDMG (e.g. under
          version control) created by dragging from the preferences window
          to the Finder.



   --APP_BASENAME=<value>
          The value for the ${APP_BASENAME} variable in the layout.



   --APP_SHORT_VERSION_STRING=<value>
          The value for the ${APP_SHORT_VERSION_STRING} variable in the
          layout.



   --APP_VERSION=<value>
          The value for the ${APP_VERSION} variable in the layout.



   --license-name=<name>, -l
          The name of a license in the preferences window.



   --license-folder=<folder>
          The path to a license folder stored outside DropDMG (e.g. under
          version control) created by dragging from the preferences window
          to the Finder.



   --custom-icon , -n
          Customize the icon of the mounted image.



   --internet-enabled , -i
          (defaults to false)



   --append-current-date
          Append the current date to the name of the output file? (defaults
          to false)



   --append-version-number
          Append the version number of the application being imaged to the
          name of the output file? (defaults to false)



   --optimize-for-restores , -r
          (defaults to false)



   --signing-identity=<identity>
          Sign the disk image or archive using the identity specified by the
          name or SHA1.



   --sanitize-for-servers
          Replace spaces and non-ASCII characters in the file name?
          (defaults to false)



   --base-name=<basename>, -b
          "" means automatic. (defaults to "")



   --volume-name=<volumeName>, -v
          "" means automatic. (defaults to "")



   --destination=<folder>, -o
          If absent, the destination is next to the source (or to prompt the
          user, in the Mac App Store version).



   --delete-original , -d
          (defaults to false)

EXAMPLES
Create plain zlib images from two folders:

      dropdmg ~/my-folder ~/my-other-folder

   Convert a .dmg image into a .tar.bz2 archive:

      dropdmg --format tar.bz2 ~/my-image.dmg

   Create an encrypted image with password "bar" that is internet-enabled:

      dropdmg -c aes-128 -h bar -i ~/my-folder

   Create a disk image from an application using the configuration
   "MyConfig":

      dropdmg --config-name "MyConfig" MyApp.app

   Burn the contents of a disk image to CD/DVD:

dropdmg(1) DropDMG dropdmg(1)

NAME
dropdmg - Command-line Interface for DropDMG

SYNOPSIS
dropdmg(1) DropDMG dropdmg(1)

NAME
dropdmg - Command-line Interface for DropDMG

SYNOPSIS
dropdmg [options] file...

   dropdmg --burn-image file...

   dropdmg --burn-file file...

   dropdmg --version

DESCRIPTION
The dropdmg tool lets you use the command line to create disk images and
archives with DropDMG. If you specify no options, DropDMG will create a

标签:DropDMG,命令行,--,image,dropdmg,文档,file,name
From: https://www.cnblogs.com/shuiche/p/18251914

相关文章