Repository navigation
Conversation
76 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
elektrik kesintisinden veya yedek diske kopyalamadan sonra zim dosyalarını kontrol etmek için
scripts/verify-content.shekledim. varsayılan içerik klasörünü, başka bir klasörü veya tek bir.zimdosyasını tarayabiliyor.zim-toolsönceden kuruluysa internet vesudogerekmiyor. betik dosyaları sadece okuyor,.partdosyalarını atlıyor ve bir arşiv doğrulanamazsa hata kodu dönüyor.arm64 qemu’da ağ kapalıyken ve ext4 disk salt okunur bağlıyken gerçek
zimcheckile yedi senaryo geçti. sağlam, bozuk ve kesilmiş arşivleri denedim. yerelde shellcheck de geçti.English
added
scripts/verify-content.shto check zim archives after a power cut or a copy to a backup disk. it can scan the default content directory, another directory, or a single.zimfile. oncezim-toolsis installed, it runs offline withoutsudo. it reads the files, skips.partdownloads, and returns an error if an archive fails verification.seven scenarios passed with the real
zimcheckin arm64 qemu, with networking disabled and the ext4 disk mounted read-only. i tested intact, damaged, and truncated archives. shellcheck passed locally too.