- 打卡等级:常驻代表
- 打卡总天数:56
- 打卡月天数:1
- 打卡总奖励:935
- 最近打卡:2026-06-02 10:32:47
|
发表于 2026-4-13 11:10:31
|
显示全部楼层
我去看了看。参数在这个文件里,命令行是用这个文件里的参数。说明也是自动设置大小。
New-OsfExfatImage.ps1
下面文件里的其中一段。
PARAMETERS
----------
-ImagePath Output image file path.
-SourceDir Folder to copy into the new volume.
-Size Optional. If omitted, an optimal size is computed to fit all files.
Suffixes: K/M/G/T (1024), k/m/g/t (1000), b (512-byte blocks), or bytes.
-Label Volume label.
-ForceOverwrite Recreate image if it already exists.
-CreateEmptyAndMount
Create and mount image only. Skip format/copy and leave mounted.
机翻:参数
-图像路径 输出镜像文件路径。
源目录 要复制到新卷中的文件夹。
-大小 可选。若省略,则计算出一个适合所有文件的最优大小。
后缀:K/M/G/T (1024),k/m/g/t (1000),b(512字节块)或字节。
-标签 卷标。
-ForceOverwrite 如果镜像已存在,则重新创建镜像。
-创建空文件并挂载 仅创建并挂载镜像。跳过格式化/复制,保持已挂载状态。 |
|