Sometimes the part I want is at the end of a recording, and I do not know how long the file is. -sseof solves that: it works like -ss, but counts from the end of the file instead of from the start.
The ffmpeg manual says -sseof is like -ss but relative to the end of file, where negative values are earlier in the file and 0 is the end itself. Like -ss it is an input option, so it goes before -i.
ffmpeg -sseof -30 -i recording.mkv -c copy last30.mkv
That keeps everything from 30 seconds before the end up to the end. No duration to look up, no arithmetic, and the same command works for every file whatever its length. The value uses the same time duration syntax as -ss, and I stick to plain seconds.
A second use is chopping off a tail you do not want, together with -t or -to. For a normal trim from the start I still reach for -ss, but when the question is “give me the end of this file”, -sseof is the shorter answer.
The caveat is the same as for -ss. With stream copy (-c copy) the manual says the segment between the seek point and the requested position is kept, so the clip can begin a bit earlier than 30 seconds before the end. If the exact start matters, leave out -c copy and let ffmpeg re-encode. That is slower and the file changes, but the cut lands where you asked.
Also check the result by playing the first seconds of last30.mkv before you delete the original recording. Cutting is quick to redo, a deleted source is not.
Further reading: ffmpeg documentation: main options (-sseof)