Update 23-01-2020
This commit is contained in:
28
docs/macos/terminal/md5.md
Normal file
28
docs/macos/terminal/md5.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Calculer le checksum d'un fichier ou d'un dossier
|
||||
|
||||
|
||||
|
||||
Il faut installer **md5deep** (Recursively compute digests on files/directories) avec [homebrew](../homebrew/brew.md).
|
||||
|
||||
Le paquet contient hash deep, md5deep, sha1deep, sha256deep, tigerdeep, whirlpooldeep.
|
||||
|
||||
|
||||
|
||||
### Calcul du sha256 d’un fichier
|
||||
|
||||
```bash
|
||||
HackiMac:~ bruno$ sha256deep /Users/bruno/Library/ssdtPRGen/ACPI/APIC.aml
|
||||
|
||||
64e0949f7af61f2c23e74ecd6c9f59d25f4b9b904befd9252159f671f0ea2581 /Users/bruno/Library/ssdtPRGen/ACPI/APIC.aml
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Calcul du sha256 d’un dossier
|
||||
|
||||
```bash
|
||||
HackiMac:~ bruno$ sha256deep -r /Volumes/EFI/EFI/CLOVER/kexts/Other/realtekALC.kext
|
||||
|
||||
57b4630bf6365fd46d76e5d845b97cc8d1042e5fa48621086c3edcefb4d20517 /Volumes/EFI/EFI/CLOVER/kexts/Other/realtek
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user