I have 2 Binary Files FileA and FileC
Its is such that FileC = FileA + FileB using the cat utility
FileC = FileA + FileB
How do I subtract FileA from FileC to get FileB ?
Possible using the dd utility:
dd if=FileC of=FileB bs=1 skip=$(stat -c %s FileA)
See man dd for details.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago