Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Directly cut 64kb tunes from full bin
#1
On a linux system it's a pretty easy job. 
Let's say we want to cut the default 64kb tune from a full 512kb bin.


Code:
tail -c $(( 64*1024 )) MS430056_M54B30_Logger_EWSsignature_CHK5off_LC.bin > MS430056_M54B30_Logger_EWSsignature_CHK5off_LC_Part.bin


Working on a Windows 10 machine with some installed linux subsystem too.
Reply
#2
If you need to convert multiple files in a directory you can use this one-liner:

Code:
for file in *.bin; do tail -c $(( 64*1024 )) "$file" > "${file%%.bin}_Part.bin"; done
Reply




Users browsing this thread: 1 Guest(s)