In Plan 9 a command is needed, that lists recursively all files. Not more and not less. The du(1) command offers too much. I do not want to list the disk usage!
The command du(1) from the second edition of plan9 only has two command line options (-a and -b size), whereas du(1) from http://github.com/0intro/plan9 offers twelve options and from http://github.com/9fans/plan9port (aka Plan 9 from User Space) eight options. All three distributions come w/o the man page. The Second Edition seems closest to what is needed — A du -a without the disk usage. Lets call it recurse(1). Its man page reads: NAME: recurse - list recursively the file names SYNOPSIS: recurse name … DESCRIPTION For each directory argument print recursively the filenames in the directory, for each filename argument, repeat the filename. SEE ALSO: ls(1) What do you think of it? With this, du(1) can be simplified by printing the disk usage of its arguments only. Greetings, Wolfgang The sizes of the three sources differ tremendously from > Am 30.09.2015 um 10:23 schrieb hiro <23h...@gmail.com>: > > I'm surprised you can even remember find's command line options. > If you need to optimize this cause you have a jillion files and think > du takes too long i'd suggest creating an index of all files you have, > sorted into a text file. > Then you only have to use grep filename index. >