To get only the last few chunks (containing the most recent logs), Alex lists them:

So Alex uses :

cat app_error_part_* > app_error_rebuilt.log Because split preserves the original order (aa, ab, ac or 00,01,02), cat in the correct order rebuilds the original file perfectly.