WALK(1)WALK(1)
NAME
walk – walk a path
SYNOPSIS
DESCRIPTION
Options are:
Print only directories.
Print only non-directories.
Print a file only if it has the temporary flag set.
Print a file only if it has any executable bits set.
Unbuffered output.
Set the inclusive range of depths for filtering in results.
Both
Specify the output format.
Each character in
The statfmt characters are as follows:
owner name (uid)
group name (gid)
name of last user to modify (muid)
last access time (atime)
last modification time (mtime)
final path element (name)
path
qid path.version.type (see
size in bytes
permissions
server device
server type (kernel device rune)
The default statfmt is simply,
EXAMPLES
List files in a directory, sorted by modification time.
walk -femp catpics | sort -n | sed 's/^[^ ]+ //'
Print the size and path of files (excluding dirs) in the working directory.
walk -fn1 -esp
SOURCE
SEE
BUGS
Statfmt character ‘x’ displays permissions as an integer.
Manipulating ifs is a nuisance.
File names are assumed to not contain newlines.
Correct invocation requires too much thought.