Skip to content

Instantly share code, notes, and snippets.

View davidjbradshaw's full-sized avatar
🏠
Working from home

David J. Bradshaw davidjbradshaw

🏠
Working from home
  • DJB Tech Ltd
  • London
View GitHub Profile
@davidjbradshaw
davidjbradshaw / checkMD5.sh
Created November 12, 2013 20:52
Shell scripts to check files against the MANIFEST file create by the grunt-hash-manifest plugin.
#!/bin/bash
#
SEQ=/usr/bin/seq
MANIFEST=( $( cat MANIFEST) )
for i in $($SEQ 0 2 $((${#MANIFEST[@]} - 1)))
do
localMD5=($(md5sum ${MANIFEST[$i]}))