export – How to trim a FBX animation file?

at first select all the objects with A

In case you want only specific objects to be exported, select those objects with Left-click, to add more objects to selection, hold Shift + Left-click

On the Timeline window you will see multiple white squares (keyframes)

Keyframes

By scrolling the MMB you zoom IN/OUT on the timeline

While hovering over the Timeline tab, hit B, a checkered cross will appear allowing for click and drag selection

B

Select the keyframes you want to delete

Selection_1

For further selection, hit B again and select another set of keyframes

Selection_2

And hit Delete

Then just navigate to File > Export > FBX

delete

In case of exporting only selected objects, make sure you check the
Selected Objects checkbox

Export

Done!

When imported again, you should only get the keyframes from the desired part.

Read more here: Source link