On a Unix or GNU box you can do this if

  *  You're <em>not</em> trying to recurse

  *  There aren't any 'extra' files in the directory

  *  You get the full path from the root of the checkout.

That last is as easy as starting at the checkout root, and
<br />&nbsp;&nbsp;&nbsp;&nbsp;<code>fossil commit

You may not even need the "full" path&#8212;but it never hurts to over-specify a path.

A short Perl (or some lesser language ;) script can clean and commit a particular directory in one swell foop.