Recursively list full absolute path of files with permissions in Linux
Rather than ls
or find
you may try tree
. Specifically tree -ifpugDs $PWD
should give you what you would like.
-if
removes indentation lines and prints out path
-p
prints permissions
-ug
prints user and group
-D
prints modification time
-s
prints size
If typing it is a problem, what about putting what you already have in a function:
myspecialfinder() {
find $PWD/ -type f -name "$1" -printf '%M %u %g %s\t%a\t%p\r\n'
}
You would use it as
myspecialfinder file.name