walker

Recursively displays the contents of a directory, and all nested directories.

Synopsis

walker <dir1> [dir2] [dir3]...

Description

This program demonstrates how to scan a directory, and recursively scan any directories it contains.

Arguments

dir1
Name of the directory to list. You can specify an arbitrary number of directory names, and they will all get listed. If no name is specified, then the current directory in which the ls program is located will get displayed.

Associated Files

walker.c

Location

$c/Walker

examples/FileSystem