I would like to list all files on my system from command line.
The provided BSD find
command, with the following command line
sudo find /
lists many of the files twice, under the root and under /System/Volumes/Data
.
The GNU find
command, installed with Homebrew, with the following command line
sudo gfind /
does not list files under /Applications
, /Users
, /Volumes
and others.
The command
sudo gfind /*
lists more file, but I am not sure if they are all.
I would like to list all files once and preferably with GNU find
, because differently from BSD find
has a -printf
command with many output formats, like inode, size, separated path and filename, unified timestamp and others.
find / -ls
.