Questions tagged [xxd]

`xxd` is a Linux Hexdump command

On the Linux platform, the command xxd (available via most package managers) works as a hexdump tool.

From man xxd

xxd creates a hex dump of a given file or standard input. It can also 
convert a hex dump back to its original binary form. Like uuencode(1) and 
uudecode(1) it allows the transmission of binary data in a `mail-safe' ASCII 
representation, but has the advantage of decoding to standard output. 
Moreover, it can be used to perform binary file patching.  
107 questions
-2
votes
2 answers

Remove 64 Bytes every 2048 bytes in Binary

I'm at a loose end here, it seems like such a simple problem so I'm hoping there is a simple answer! I have a binary (approx 35m) which has 64 bytes of padded data every 2048 bytes starting at offset 1536 - I just want to remove this padding. The…
-5
votes
2 answers

Script/Tool to convert C source code encoded by "xxd -i" to C source code?

Is there a Linux/Unix tool that can be used to convert the hex dump array of a C file (i.e. the output of xxd -i) to the corresponding source code?
Paradox
  • 4,602
  • 12
  • 44
  • 88
1 2 3 4 5 6 7
8