O comando que você está procurando é
lsattr -R /directory/to/be/searched
Do manual do Linux ( man lsattr
) para lsattr
:
NAME
lsattr - list file attributes on a Linux second extended file system
SYNOPSIS
lsattr [ -RVadv ] [ files... ]
DESCRIPTION
lsattr lists the file attributes on a second extended file system. See
chattr(1) for a description of the attributes and what they mean.
OPTIONS
-R Recursively list attributes of directories and their contents.
Esta é a saída deste comando, como usuário sem privilégios, no meu diretório inicial.
$ lsattr -R | more
-------------e-- ./zz.txt
-------------e-- ./VirtualBox VMs
./VirtualBox VMs:
-------------e-- ./VirtualBox VMs/Ollie2
./VirtualBox VMs/Ollie2:
-------------e-- ./VirtualBox VMs/Ollie2/Ollie2.vbox
-------------e-- ./VirtualBox VMs/Ollie2/Ollie2.vbox-prev
-------------e-- ./VirtualBox VMs/Ollie2/Logs
./VirtualBox VMs/Ollie2/Logs:
-------------e-- ./VirtualBox VMs/Ollie2/Logs/VBox.log
-------------e-- ./VirtualBox VMs/Ollie2/Logs/VBox.log.1
-------------e-- ./VirtualBox VMs/Ollie2/Logs/VBox.log.2
-------------e-- ./VirtualBox VMs/Ollie2/Logs/VBox.log.3
-------------e-- ./VirtualBox VMs/Ollie2/Ollie2.vdi
-------------e-- ./VirtualBox VMs/JH
./VirtualBox VMs/JH:
-------------e-- ./VirtualBox VMs/JH/JH.vbox-prev
-------------e-- ./VirtualBox VMs/JH/JH.vbox
-------------e-- ./VirtualBox VMs/JH/JH.vdi
e assim por diante.