Loading other/get_md5.ps1 +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ param( [String]$out_file ) (Get-FileHash .\cat?\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) | (Get-FileHash .\[cFH][aO][tA]*\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) | ForEach-Object { $_.replace( -join ((Get-Location) , "\"), ".\") } | ForEach-Object { $_ -replace (" ", "") } | Out-File -Encoding utf8 $out_file No newline at end of file other/get_md5.sh +2 −2 Original line number Diff line number Diff line Loading @@ -44,9 +44,9 @@ echo "AlgorithmHashPath" >>$1 echo "-----------------" >>$1 if [ "$system" = "Darwin" ]; then md5 -r cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 md5 -r [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 else md5sum cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 md5sum [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 fi echo "" >>$1 Loading Loading
other/get_md5.ps1 +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ param( [String]$out_file ) (Get-FileHash .\cat?\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) | (Get-FileHash .\[cFH][aO][tA]*\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) | ForEach-Object { $_.replace( -join ((Get-Location) , "\"), ".\") } | ForEach-Object { $_ -replace (" ", "") } | Out-File -Encoding utf8 $out_file No newline at end of file
other/get_md5.sh +2 −2 Original line number Diff line number Diff line Loading @@ -44,9 +44,9 @@ echo "AlgorithmHashPath" >>$1 echo "-----------------" >>$1 if [ "$system" = "Darwin" ]; then md5 -r cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 md5 -r [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 else md5sum cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 md5sum [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1 fi echo "" >>$1 Loading