Make the binary slice extraction completely generic
parent
5e4466c1aa
commit
1fafacbc59
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Quick and dirty extracter to get the EC image out of the iso file
|
||||
# Quick and dirty extracter to slice out a section of a binary file
|
||||
# Copyright (C) 2016 Hamish Coleman
|
||||
#
|
||||
# TODO:
|
@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Quick and dirty extracter to get the EC image out of the iso file
|
||||
# Copyright (C) 2016 Hamish Coleman
|
||||
#
|
||||
# TODO:
|
||||
# - a tool that is portable to Windows
|
||||
# - should output dependancy information
|
||||
|
||||
OUT="$1"
|
||||
if [ -z "$OUT" ]; then
|
||||
echo Need output filename
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -x
|
||||
dd if=8duj27us.iso.orig bs=$[0x005e2a00] skip=1 | dd bs=196608 count=1 of="$OUT"
|
||||
|
@ -0,0 +1 @@
|
||||
8duj27us.iso.orig 0x005e2a00 196608
|
Loading…
Reference in New Issue