%d
File’s depth in the directory tree (depth below a file named on the command line, not depth below the root directory). Files named on the command line have a depth of 0. Subdirectories immediately below them have a depth of 1, and so on.
%D
The device number on which the file exists (the st_dev
field of
struct stat
), in decimal.
%F
Type of the filesystem the file is on; this value can be used for ‘-fstype’ (see Directories).
%l
Object of symbolic link (empty string if file is not a symbolic link).
%i
File’s inode number (in decimal).
%n
Number of hard links to file.
%y
Type of the file as used with ‘-type’. If the file is a symbolic link, ‘l’ will be printed.
%Y
Type of the file as used with ‘-type’. If the file is a symbolic link, it is dereferenced. If the file is a broken symbolic link, ‘N’ is printed. When determining the type of the target of a symbolic link, and a loop is encountered, then ‘L’ is printed (e.g. for a symbolic link to itself); ‘?’ is printed for any other error (like e.g. ‘permission denied’).