Hi all:
    I use .htaccess files, and ttree copy all of them without problem.
    My ttree.cfg file is like:

# Archivos que deseamos ignorar
ignore  = \b(CVS|RCS)\b
ignore  = ^#
ignore  = ~$
ignore  = \.swp$

# archivos que vamos a copiar tal cual
# Imagenes
copy    = \.(gif|png|jpg|pdf|ico)$
# Codigo _javascript_
copy    = \.(js)$

Hope this help.

Bill Ward escribió:
If you can't get ttree to do it the way you want, here are some other ideas: If you have Apache server config access you can tell it to use a non-dotted filename instead of ".htaccess" I think.  Or you could call the file _htaccess and then have a Perl script that renames all the _htaccess files to .htaccess after running ttree.

On 10/2/06, Johan Vromans <[EMAIL PROTECTED]> wrote:
I have a web site that is produced using ttree.
Conveniently, dot-files are skipped in the process with a "ignore"
instruction in ttree.cfg.

However, I have .htaccess files that do need to be included (= copied).

Unfortunately, the instructions are processed in the order ignore /
copy / accept.

Is there an elegant work-around to skip dot files, while still being
able to include some?

-- Johan

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates



--
Help bring back the San Jose Earthquakes - http://www.soccersiliconvalley.com/
begin:vcard
fn:Jose Pedro Andres Garcia
n:Andres Garcia;Jose Pedro
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
url:http://www.macklus.net
version:2.1
end:vcard

Reply via email to