mypackage-0.1
to each archived file and compress the archive using bzip2 in one round:tar --xform 's,^,mypackage-0.1/,' -cjf mypackage-0.1.tar.bz2 bin/ conf/ doc/ log/ Makefile
mypackage-0.1
to each archived file and compress the archive using bzip2 in one round:tar --xform 's,^,mypackage-0.1/,' -cjf mypackage-0.1.tar.bz2 bin/ conf/ doc/ log/ Makefile
date --utc +%s date --utc +%s -d '2012-01-01 00:00:00'
10.0.0.1
) and reread MBR after copying is finished:nc -l -p 1234 > /dev/sda partprobe /dev/sdaAnd send first 512 bytes from the source:
dd if=/dev/sda bs=512 count=1 | nc 10.0.0.1 1234Copy desired partition:
nc -l -p 1234 > /dev/sda1And send partition raw data over the wire:
dd if=/dev/sda1 | nc 10.0.0.1 1234