Files
Aaru.Documentation/Calculate-dump-contents-entropy.mediawiki

31 lines
1.3 KiB
Plaintext

==Command description==
This operation will calculate uniqueness and entropy of the media represented by a media dump image. It's not affected by the image format compression if applicable.
==Command usage==
<code>Aaru -d [true/false] -v [true/false] image entropy -h [true/false] -p [true/false] -t [true/false] -w [true/false] <image-path></code>
<code>-d, --debug [true/false]</code> shows debug output ''(default false)''<br />
<code>-v, --verbose [true/false]</code> shows verbose output ''(default false)''<br />
<code>-h, --help [true/false]</code> shows help screen for the command instead of running it, ignores all other switches ''(default false)''<br />
<code>-p, --duplicated-sectors [true/false]</code> besides entropy also calculates how many sectors have the exact same data in their user area ''(default true)''<br />
<code>-t, --separated-tracks true/false]</code> separately calculates the entropy for each track dividing the media. Only applicable to certain kind of media (optical discs and digital tapes mostly) ''(default true)''<br />
<code>-w, --whole-disc [true/false]</code> calculates the entropy for the whole media ''(default true)''
==Example==
<code>Aaru image entropy mydisc.cue</code>
==Operating system support==
{|
| FreeBSD
| Yes
|-
| macOS
| Yes
|-
| Linux
| Yes
|-
| Windows
| Yes
|}