Except the last N line of its input
-n, --lines=[-]NUM
print the first NUM lines instead of the first 10;
with the leading '-', print all but the last NUM lines of each file
ie.
tail s3-bucket-contents-source.txt
2022-02-24 14:15:18 11602 UUID 2022-02-09 17:32:20 480231 UUID Total Objects: 25975 Total Size: 8785058704
head -n -3 filename.txt
2022-02-24 14:15:18 11602 UUID 2022-02-09 17:32:20 480231 UUID