next up previous
Next: calc Up: Command line options Previous: blanktonl

foreachfile

Syntax: foreachfile [-e] [-d depth] filename command
Execute the specified command in every first-level subdirectory containing the file filename.
The -e option cause foreachfile to skip directories containing the file "error".
The -d option specifies to go down to lower level subdirectories as well (the default is 1).


avdw@alum.mit.edu Mon Jun 22 11:08:18 CDT 2009