General code refactor.

This commit is contained in:
2021-12-08 18:26:24 +00:00
parent a4703b6594
commit 7f4c5d8ff8
38 changed files with 7039 additions and 3793 deletions

View File

@@ -7,7 +7,9 @@
## Command Description
This operation will analyze a media dump and, if the format is recognized, create a CICM XML metadata sidecar with all information that can be automatically retrieved from it, as well as all [supported checksum algorithms.](../faq/supported-checksums.md)
This operation will analyze a media dump and, if the format is recognized, create a CICM XML metadata sidecar with all
information that can be automatically retrieved from it, as well as
all [supported checksum algorithms.](../faq/supported-checksums.md)
## Command usage
@@ -17,10 +19,14 @@ Aaru -d [true/false] -v [true/false] image create-sidecar -h [true/false] -b [bl
`-d, --debug [true/false]` shows debug output *(default false)*
`-v, --verbose [true/false]` shows verbose output *(default false)*
`-h, --help [true/false]` shows help screen for the command instead of running it, ignores all other switches *(default false)*
`-b, --block-size [block size]` used only for tapes, indicates fixed block size in bytes. File in dump folder not multiple of this value will be ignored *(default 512)*
`-e, --encoding [encoding]` sets which encoding is used by the contents of the media dump *(default varies by filesystem)*
`-t, --tape [true/false]` indicates that dump points to a folder containing alphabetically sorted files extracted from a linear block-based tape with fixed block size (e.g. a SCSI streaming device) *(default false)*
`-h, --help [true/false]` shows help screen for the command instead of running it, ignores all other switches *(default
false)*
`-b, --block-size [block size]` used only for tapes, indicates fixed block size in bytes. File in dump folder not
multiple of this value will be ignored *(default 512)*
`-e, --encoding [encoding]` sets which encoding is used by the contents of the media dump *(default varies by
filesystem)*
`-t, --tape [true/false]` indicates that dump points to a folder containing alphabetically sorted files extracted from a
linear block-based tape with fixed block size (e.g. a SCSI streaming device) *(default false)*
## Example