When I generate checksums for my files, I have to do a bit of extra work to get them formatted properly: CHECKSUM="$(shasum "$file" | cut -b 1-40)" echo -n "$CHECKSUM" > "$file.sha" This is to ...
I have several directories that share a common parent directory. In each directory there are regular files, but no other subdirectories. Something like this: top/dir-1 top/dir-1/file-11 ...
I need a function to compare 2 binary files, here the requirements: 2 files, not 3 or 4 files can't be assumed to exist avoid running checksum (CRC/MD5/SHA/...) until one must if running multiple ...