Data Duplicator

From 6bit.ch wiki
Revision as of 13:02, 2 December 2022 by Xbl (talk | contribs) (→‎Use)
Jump to navigation Jump to search

dd

Convert and copy a file. Also, write to magnetic tape.

Use

dd if=<PATH> of=<PATH> duplicate infile to outfile

Ex: dd if=/dev/urandom of=/dev/st0 bs=65536 count=1000 write a random data stream to tape st0 with 65K block size 1000 times

Useful Flags

status=progress show progress and speed
bs=<BYTES> read and write up to BYTES bytes at a time (default: 512)
count=<N> copy only N input blocks