Adfaft

create checksum using CRC32

rhash -rCP --accept=[ext,ext] [directory] > [filehash-output.sfv]

# -r : recursively
# -C : create CRC32
# -P : show percentage
# --accept : extensions list to be accepted to be rhash 

example : rhash -rCP --accept=".iso,.img" . > checksum.sfv

allternatif lain selain CRC32,

Update Hash

hash -rP --update=[filehash-output.sfv] --accept=[ext,ext] [directory]

r

where -r : recursive -P : show percentage --simple : save output in simple format (per line) --accept : accept only some extension

example rhash -rP --update=Movies/Asian-crc32.sfv --accept=.mkv,.avi,.mp4,.m4v Movies/Asian/

Validate hash untuk file recursively rhash -c --ignore-missing [filehash]

where -c : check hash of files based on hash file generated --ignore-missing : ignore file missing if deleted, moved or renamed