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 Fri Aug 27 21:35:05 CDT 2010