Excluding files from hadd

Would it be possible to develop an exclude option for hadd. The syntax would be something like,

hadd TARGET SOURCEFILES -x EXCLUDEDFILES

This would be pretty convenient.

Hi,

[quote]This would be pretty convenient.[/quote]Maybe … Usually (unless the tool itself does file finding) this type of behavior is done by composing unix tools. For example:hadd TARGET `echo SOURCEFILES | grep -v EXCLUDEFILE`This is usually much more powerful as you can then implement all sort of exclusion/inclusion mechanism you can think of (regular expressions, etc.)

Cheers,
Philippe