On Tue, Apr 7, 2009 at 6:12 AM, Lyle Brooks <[email protected]> wrote:
> Sometimes I'd like to give ttree a directory as an argument and have > it recusively process all files in that directory tree. It seems as if > currently you can either have it process everything via the -a option, or > ask it to process a single template....but nothing in between. > > So I am passing along this patch to ttree to allow it to take a directory > as an argument and "do the right thing". > Seems to me that that could be dangerous. A typo might cause many files to be processed. > If there's already a way to do this, please disregard. > I don't use ttree much myself, but could you just use the xargs command? find $dirs -name '*.tt' -print0 | xargs -0 ttree --Sean
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
