Splitting Large .BIN File — Want to Trim Last 10 Minutes Only

Hi everyone,

I’m currently working on a long-range flight, which naturally results in a rather large .bin log file. Due to limited storage space on my phone, I’d like to split the file and extract only the portion around the incident.

Specifically, I want to trim the last 10 minutes of the flight from the .bin file.

I came across this helpful thread: How to trim down a log file? and tried using mavlogdump.py as suggested. However, when I ran the script, it simply opened the file without doing anything else — no output, no error messages.

Could anyone provide a more detailed guide on how to properly use mavlogdump.py or suggest an alternative method to extract just the last 10 minutes from a .bin log?

Any help would be greatly appreciated. Thanks!

Have you looked into the command line parameters to mavlogdump.py ?

1 Like

I have solved the problem — it seems my laptop had some kind of issue. I retried the process on my PC and didn’t encounter any problems. Thank you for the helpful guidance in the link you shared: How to trim down a log file? - #10 by Davide_Lentini