Skip to content

Instantly share code, notes, and snippets.

@Golumpa
Golumpa / crc32.sh
Last active February 3, 2022 20:36
#!/bin/bash
# This simple bash script adds a CRC32 to the end of every file in a chosen folder. It will not add them recursively.
# This script needs libarchive-zip-perl (Debian based), perl-Archive-Zip (Red Hat based) installed to be able to run.
# Change this to the folder that have files you want to add CRC32's to.
home="FolderName"
# This filters out those files you want to add a CRC32 to.
ext="mkv"