Factor out common code for writing ls shell command. Rework its length
[mmh] / test / tests / folder /
drwxr-xr-x   ..
-rw-r--r-- 406 test-create
-rw-r--r-- 285 test-total