最佳答案
在 Linux 桌面(RHEL4)上,我想从一个大文件(> 1G)中提取一个字节范围(通常小于1000)。我知道文件的偏移量和块的大小。
我可以编写这样做的代码,但有命令行解决方案吗?
理想情况下,比如:
magicprogram --offset 102567 --size 253 < input.binary > output.binary