Revert a plaintext hexdump back into binary, and save it as a binary file

xxd

  • Create a hexadecimal representation (hexdump) from a binary file, or vice-versa.
    More information: <https://manned.org/xxd>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

xxd -r -p {{input_file}} {{output_file}}

click the source code to copy install xxd on any operating system with command-not-found.com