linuxcommand-linedata-conversionbinary-data

What's the opposite of od(1)?


Say I have

8b1f 0008 0231 49f6 0300 f1f3 75f4 0c72 f775 0850 7676 720c 560d 75f0 02e5 ce00 0861 1302 0000 0000

How can I easily get a binary file from that without copying+pasting into a hex editor?


Solution

  • Use:

    % xxd -r -p in.txt out.bin