Is it possible to run ls or find and pipe it through stat?
Use stat
on the -exec
action of find
:
find .content/media/ -type f -exec stat -c '%n : %U : %G : %s' {} +
Change the format sequences of stat
to meet your need.
If you have GNU find, you can use -printf
:
find content/media/ -type f -printf '%p : %u : %g : %k'
Throw xargs
into the mix. E.g.:
ls | xargs stat