DropDMG 命令行工具使用文档
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
作者:水车
出处:https://www.cnblogs.com/shuiche/p/18251914
版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。
推荐一个激活软件下载站:mac.shuiche.cc
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
2023-06-17 使用Echarts时报 Implementation of registerMap doesn't exists 错误解决办法
2020-06-17 golang gin框架默认打印日志写入到文件 (http请求打印写入到文件而不是控制台)