klay, 8 months ago I just looked up the man page, and actually head -n -2 means “everything up to but not including the last two lines”, so this should always leave two files remaining.
I just looked up the man page, and actually head -n -2 means “everything up to but not including the last two lines”, so this should always leave two files remaining.
head -n -2