Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #689968
| From | Chris Ahlstrom <OFeem1987@teleworm.us> |
|---|---|
| Newsgroups | comp.os.linux.advocacy |
| Subject | Re: Need Help: Replace Bytes In Binary File |
| Date | 2025-05-04 11:57 -0400 |
| Organization | None |
| Message-ID | <vv82pn$29efv$4@dont-email.me> (permalink) |
| References | <pan$def57$d367618d$5365ea3b$700171a@linux.rocks> |
Farley Flud wrote this post while blinking in Morse code:
> I need to replace some bytes in potentially very large binary files.
>
> Fortunately, I know the offset and I know the byte length.
>
> I can easily invoke a hex editor and manually do the replacement
> but I desire a faster method using CLI.
>
> How can I do this with CLI?
This link has some ideas:
https://stackoverflow.com/questions/4783657/write-byte-at-address-hexedit-modify-binary-from-the-command-line
I most crack open bvi these days. Previously I used hexer a lot. But they're no
scriptable afaik.
--
Preserve Wildlife! Throw a party today!
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Need Help: Replace Bytes In Binary File Farley Flud <ff@linux.rocks> - 2025-05-04 15:32 +0000
Re: Need Help: Replace Bytes In Binary File Chris Ahlstrom <OFeem1987@teleworm.us> - 2025-05-04 11:57 -0400
Re: Need Help: Replace Bytes In Binary File Farley Flud <ff@linux.rocks> - 2025-05-04 19:23 +0000
Re: Need Help: Replace Bytes In Binary File Farley Flud <ff@linux.rocks> - 2025-05-04 21:14 +0000
Re: Need Help: Replace Bytes In Binary File vallor <vallor@cultnix.org> - 2025-05-04 21:39 +0000
Re: Need Help: Replace Bytes In Binary File vallor <vallor@cultnix.org> - 2025-05-04 21:47 +0000
Re: Need Help: Replace Bytes In Binary File % <pursent100@gmail.com> - 2025-05-04 17:16 -0700
Re: Need Help: Replace Bytes In Binary File Farley Flud <ff@linux.rocks> - 2025-05-05 08:14 +0000
Re: Need Help: Replace Bytes In Binary File % <pursent100@gmail.com> - 2025-05-04 17:15 -0700
csiph-web