Problems was a suffix directive, as suffix directives override copy directives.
David Favor wrote: > I'm trying to copy assets like robots.txt, various > .css|.js files and ico files from src/. to html/. > and I seem to be missing the correct syntax or > there's a problem with ttree. > > My directory hierarchy is: > > r...@hive1:# ls > bin/ etc/ html/ lib/ src/ > > My ttree.cfg contains this: > > # copy these files > copy = \.(js|css|txt|ico|gif|png|jpg|pdf)$ > copy = \.txt$ > > And I get this... > > r...@hive1:# ttree -f etc/ttree.cfg > ttree 2.9 (Template Toolkit version 2.22) > > Source: /common/vhost/radicalhealth.com/htdocs/programs/newyou/src > Destination: /common/vhost/radicalhealth.com/htdocs/programs/newyou/html > Include Path: [ /common/vhost/radicalhealth.com/htdocs/programs/newyou/lib ] > Ignore: [ \b(CVS|RCS)\b, ^#, ~$ ] > Copy: [ \.(js|css|txt|ico|gif|png|jpg|pdf)$, \.txt$ ] > Accept: [ \.tt2$ ] > Suffix: [ tt2 => html ] > Summary: > 0 files processed > 0 files copied > 0 directories created > 1 file skipped (not modified) > 3 files skipped (ignored) > > Suggestions? > > Thanks. > -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com for the easy way! _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates