Home| base |src.bin|build| maketree Index

maketree

Syntax
maketree path "pattern"
Synopsis
Print a directory tree for files that match the pattern.
Options
pathsearch path.
"pattern"filename pattern to match, this must be quoted to avoid command line expansion.
Description

The program searches for files that match the specified pattern in the directory structure given as the search path. If a matching file is found then the elements of the directory tree are printed to standard output. This output can be used to recreate the directory structure containing the file.

Examples
maketree www "*.xml" > dir.txt

Search the directory "www" for any files that match the pattern "*.xml". Record the elements of the directory tree in the file "dir.txt".