Tags

,

dd if=hugefile.big of=small.tin bs=2048 skip=111 count=1

This example would cut out a 2048 bytes at the 111th block (0 base)

if = input file
of = output file
bs = block size
skip = sk”i”p the “i”nput file
seek = seek(s”o”ught) the “o”utput file
count = 1 count is 1 block which is 2048 bytes for 1 count

Advertisements