DarException if the transformation fails due to I/O errors,
permission issues, invalid parameters, or other libdar-reported errors.
void toDir(string outDir,
string base,
string ext,
bool allowOverwrite = true,
bool warnOverwrite = false,
ulong firstSliceSize = 0,
ulong sliceSize = 0,
string slicePerm = null,
string sliceUser = null,
string sliceGroup = null,
uint minDigits = 0,
string execute = null) @safeTransforms the source to a directory, producing slices as needed.
outDir | destination directory for output slices |
base | base name for the output archive |
ext | extension for the output archive (e.g. "dar") |
allowOverwrite | allow overwriting existing slices |
warnOverwrite | warn about overwrites (informational) |
firstSliceSize | first slice size in bytes (0 = disabled) |
sliceSize | subsequent slice size in bytes (0 = disabled) |
slicePerm | octal permission string (e.g. "0644"); empty/null = default |
sliceUser | slice owner (username or UID string) |
sliceGroup | slice group (group name or GID string) |
minDigits | minimal digits in slice numbers |
execute | optional command executed between slices |
DarException if the transformation fails due to I/O errors,
permission issues, invalid parameters, or other libdar-reported errors.