Subject: exec winzip with specific exclusions
From: Glenn Jackman
Date: 11/7/2007 4:00:29 PM
At 2007-11-07 10:28AM, "Niv" wrote:
> I want to zip a whole design directory, including all sub-dirs, but
> with specific file types excluded.
> The exclusions can be in a list.
> I can use something like: exec zip -x *.<exlude>
> but would like to build a list of all files to include, based on (ALL
> - exclusions), then zip that list.
>
> How do I build the list?
Using ::fileutil::find or ::fileutil::findByPattern would be a good
place to start.
http://tcllib.sourceforge.net/doc/fileutil.html
--
Glenn Jackman
"You can only be young once. But you can always be immature." -- Dave Barry
|