ttree question

Sherwood Botsford <[email protected]> Sat, 15 Apr 2017 15:46:10 -0600
Newsgroups gmane.comp.lang.perl.modules.template-toolkit
Message-ID <CAOX=2F8h7qN-sPZ63YapnOVKw3pvdewU5QW+b6vfmAZqWvAkaA@mail.gmail.com>
--===============7529541248404177760==
Content-Type: multipart/alternative; boundary=001a114f119ae983bd054d3b7e10

--001a114f119ae983bd054d3b7e10
Content-Type: text/plain; charset=UTF-8

If I run ttree f .ttreerc -a it does everything, including all the copy
operations.

This gives all the files a new timestamp, so when I update my website,
everything needs to be copied over.

Is there a way to process all the files that need processing, but only copy
files that need copying?

E.g

*.tt2  Do them all with the new basename

*.jpg  Copy them only if the file is newer than the destination/.


Regards

Sherwood

--001a114f119ae983bd054d3b7e10
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:times ne=
w roman,serif"><br clear=3D"all"></div><div class=3D"gmail_default" style=
=3D"font-family:times new roman,serif">If I run ttree f .ttreerc -a it does=
 everything, including all the copy operations.</div><div class=3D"gmail_de=
fault" style=3D"font-family:times new roman,serif"><br></div><div class=3D"=
gmail_default" style=3D"font-family:times new roman,serif">This gives all t=
he files a new timestamp, so when I update my website, everything needs to =
be copied over.</div><div class=3D"gmail_default" style=3D"font-family:time=
s new roman,serif"><br></div><div class=3D"gmail_default" style=3D"font-fam=
ily:times new roman,serif">Is there a way to process all the files that nee=
d processing, but only copy files that need copying?</div><div class=3D"gma=
il_default" style=3D"font-family:times new roman,serif"><br></div><div clas=
s=3D"gmail_default" style=3D"font-family:times new roman,serif">E.g</div><d=
iv class=3D"gmail_default" style=3D"font-family:times new roman,serif"><br>=
</div><div class=3D"gmail_default" style=3D"font-family:times new roman,ser=
if">*.tt2 =C2=A0Do them all with the new basename</div><div class=3D"gmail_=
default" style=3D"font-family:times new roman,serif"><br></div><div class=
=3D"gmail_default" style=3D"font-family:times new roman,serif">*.jpg =C2=A0=
Copy them only if the file is newer than the destination/.</div><div class=
=3D"gmail_default" style=3D"font-family:times new roman,serif"><br></div><d=
iv class=3D"gmail_default" style=3D"font-family:times new roman,serif"><br>=
</div><div><div class=3D"gmail_signature" data-smartmail=3D"gmail_signature=
"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Regards=
</div><div><br></div><div>Sherwood<br><br></div></div></div></div></div></d=
iv></div></div>
</div>

--001a114f119ae983bd054d3b7e10--


--===============7529541248404177760==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============7529541248404177760==--