From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73453 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: bug with --purgeall? Date: Thu, 29 Dec 2011 17:12:55 +0100 Message-ID: <4EFC9187.5010900@web.de> References: <4EFC079F.7000408@web.de> <4EFC80E5.3030103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325175215 25390 80.91.229.12 (29 Dec 2011 16:13:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2011 16:13:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 29 17:13:31 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RgIbi-0004v0-Um for gctc-ntg-context-518@m.gmane.org; Thu, 29 Dec 2011 17:13:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E07F8CB1B7; Thu, 29 Dec 2011 17:13:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1Hr86d8hb2lh; Thu, 29 Dec 2011 17:13:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62485CB1B3; Thu, 29 Dec 2011 17:13:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3A5DBCB1B3 for ; Thu, 29 Dec 2011 17:13:26 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 76y-mQn9JtWi for ; Thu, 29 Dec 2011 17:13:14 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 615B0CB1B0 for ; Thu, 29 Dec 2011 17:13:14 +0100 (CET) Original-Received: from fmmailgate05.web.de (fmmailgate05.web.de [217.72.192.243]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBTGDDJP020688 for ; Thu, 29 Dec 2011 17:13:13 +0100 Original-Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate05.web.de (Postfix) with ESMTP id 75D1968913D5 for ; Thu, 29 Dec 2011 17:13:13 +0100 (CET) Original-Received: from [192.168.1.33] ([88.5.204.232]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0Lu57G-1Qg7oN0XYc-011jqJ; Thu, 29 Dec 2011 17:13:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111222 Thunderbird/9.0 In-Reply-To: <4EFC80E5.3030103@wxs.nl> X-Provags-ID: V02:K0:ur30DvQ9ZMkOtw5z6d//ErrORO3sySEK9FAa8nvfiVb gLT9XBCB/4XPegL4DxYbLHrcztU/7w9i/mSD1c1FrTiO7KuqL1 wuTlirC0h/spYY8GrpswkfH0RGt3NvFvVQNxwcPjMDwh/3Lx5Q Jvfw/m4FgFyuqWyLF6UHxfDDurB900jVYRz+ztXhErORWcd6T7 ZDoiRJ69aTkWR2ov9V2MA== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.72.192.243; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0HGf4ddU5 - 5f0d3c05cf73 - 20111229 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:73453 Archived-At: On 12/29/2011 04:01 PM, Hans Hagen wrote: > On 29-12-2011 07:24, Pablo Rodr=EDguez wrote: >> Hi there, >> >> yesterday I ran the following command: >> >> context --purgeall --environment=3Dmysecondstyle.tex --mode=3Dmyexample.= xml >> >> I know that the source file is missing (I discovered it later). This is >> not my issue. >> >> The problem is that the --purgeall option caused context to erase all >> ..log files contained in that directory. Instead of asking for a source >> file name, it deleted all .log files. >> >> I'm afraid this is a bug, at least it shouldn't erase files that context >> didn't generate. > = > how should it know? By name and by modification date and time. But in any case, the following command: context --purgeall should give an error (missing document) before trying to purge all documents. Thanks for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________