Compare commits

...

2 Commits

Author SHA1 Message Date
2e093f6856 add example output 2024-06-07 17:01:34 -04:00
14d38a1cbd fix int overflow for large recoveries 2024-06-07 16:58:42 -04:00
2 changed files with 13687 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -104,7 +104,7 @@ function ShowSizes() {
[string]$description, [string]$description,
[Parameter(Mandatory = $true, Position = 1)] [Parameter(Mandatory = $true, Position = 1)]
[int]$sizeInBytes [Int64]$sizeInBytes
) )
# Convert the size to kilobytes (KB) # Convert the size to kilobytes (KB)
@ -203,7 +203,7 @@ function Show-Duplicates {
) )
$num_dups = 0 $num_dups = 0
$total_dup_size = 0 $total_dup_size = 0.0
foreach ($entry in $files.GetEnumerator()) { foreach ($entry in $files.GetEnumerator()) {
$dup_files = $entry.Value $dup_files = $entry.Value