Mac: Lack of --printf for stat
Formatting stat
output on macOS is unlike Linux versions.
stat -f 'Name: %N%tType: %HT%tSize: %z%tTimestamp: %SB%n' filename
Should return output similar to:
Name: filename Type: Regular File Size: 27063 Timestamp: Mar 19 01:02:20 2017
See also OS X Man Pages > stat