> for the second it is: 
> find /foo -name \*.html -exec rm {}\;

Except the request was to move these files, not delete them:

  find dir -name \*.html -exec mv {} /absolute/path/to/target/dir \;

(where dir, or /foo in Dave's examples, is the directory that
you want to start from, which need not be an absolute path)

And, Adam, just so that you don't get confused in some future
conversation, it is traditional to call this "descending" into
the directory tree, rather than "ascending" into it, since
parent directories are usually though of as superior, thus
higher, thus their child directorys are called sub-directories.
I know that trees in the forest work the other way, and lots
of other kinds of software trees described in computer science
classes use the other direction (though the terminology in
computer science is by no means consistant either) but that's
life.

                                                        Bill

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to