dd

dd


Use dd to convert a file while copying it.


Convert from ASCII to EBCDIC

dd if=$1 of=ebcdic.file ibs=512 obs=512 cbs=150 conv=ebcdic

 

Convert from cooked file system to raw file system

$ dd if = /home/OldUFSFile of = /dev/rdsk/NewRawDevice bs=32k