diff options
author | Max Horn | 2006-08-26 13:38:02 +0000 |
---|---|---|
committer | Max Horn | 2006-08-26 13:38:02 +0000 |
commit | e7f4eaa71703570b3c62cde20f97c5df826a0f41 (patch) | |
tree | 10e488b8e400c0ec638e7939a9a14f0b03794a02 | |
parent | 830a309f1cff3e20d7640d10639aed34a7d83da5 (diff) | |
download | scummvm-rg350-e7f4eaa71703570b3c62cde20f97c5df826a0f41.tar.gz scummvm-rg350-e7f4eaa71703570b3c62cde20f97c5df826a0f41.tar.bz2 scummvm-rg350-e7f4eaa71703570b3c62cde20f97c5df826a0f41.zip |
Added my simple shell script which I used to batch-update the MD5 table with size information
svn-id: r23759
-rw-r--r-- | tools/scumm-md5.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/scumm-md5.txt b/tools/scumm-md5.txt index d49a67f782..73c98e341f 100644 --- a/tools/scumm-md5.txt +++ b/tools/scumm-md5.txt @@ -36,6 +36,22 @@ # Gerald Vincent silverfo (AT) club-internet (DOT) fr # Peter Eckerlein master (DOT) eckes (AT) web (DOT) de # +# +# +# The following shell script can be used to extract the file sizes of a bunch +# of detect files, autonmatically inserting the values in here: +# +# #!/bin/sh +# OIFS=$IFS +# IFS=" +# " +# for i in `find -name *.??0` `find -name *Data*` ; do +# m=`head -c 1048576 "$i" | md5sum | cut -f1 -d' '` ; +# s=`du -b "$i" | cut -f1` ; +# echo perl -pi -e "s/$m\t-1/$m\t$s/" /PATH/TO/tools/scumm-md5.txt ; +# done +# IFS=$OIFS +# maniac Maniac Mansion d831f7c048574dd9d5d85db2a1468099 -1 en C64 C64 - - c4a7f7398ac9ae588940f9912ea5fd8f -1 de C64 C64 - - |