You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
scriptform/test/test_upload.sh

10 lines
189 B

#!/bin/sh
MD5_UPLOAD=$(md5sum ${file} | cut -d" " -f1)
MD5_ORIG=$(md5sum "data.raw" | cut -d" " -f1)
if [ "$MD5_UPLOAD" = "$MD5_ORIG" ]; then
echo "SAME"
else
echo "DIFFERENT"
fi