From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 81737BB94 for ; Sat, 23 Jul 2005 14:59:44 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6NCxiGJ021155 for ; Sat, 23 Jul 2005 14:59:44 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA12377 for ; Sat, 23 Jul 2005 14:59:43 +0200 (MET DST) Received: from first.in-berlin.de (dialin-145-254-054-022.arcor-ip.net [145.254.54.22]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j6NCxgVV021146 for ; Sat, 23 Jul 2005 14:59:42 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id CE8D6135824; Sat, 23 Jul 2005 14:59:19 +0200 (CEST) Date: Sat, 23 Jul 2005 14:59:18 +0200 From: Oliver Bandel To: caml Subject: Announcement: pftdbns 0.2.8 Message-ID: <20050723125918.GA631@first.in-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Miltered: at nez-perce with ID 42E23F40.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 42E23F3E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; oliver:01 bandel:01 oliver:01 in-berlin:01 char:01 char:01 foobar:01 foobar:01 choosen:01 bug-fix:01 bandel:01 short:01 integer:01 tex:01 behaviour:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Hello, I have to announce version 0.2.8 of pftdbns, a tool which is useful in sorting/listing/moving files. It's name "pftdbns" is a short hand for "put files to directories (sorted) by name structure". It takes filenames, maps each char of the filename into a char, representing the charclass of it (a..z and A..Z -> "l" (letter), 0...9 -> "i" (integer" and so on)). This yields to an easy way of sorting files by names, based upon file-naming with certain filenaming-conventions. So, for example "hello.txt" and "ballo.txt" are part of the same name structure, as well as "1001.txt" and "8251.txt" but also "8251.jpg" are of the same name structure. For example "foobar.tex" and "foobar.txt" are equally structured too. The default behaviour is to move files into directories. The names of the directories are choosen from the string, which represents the name structure by default. Since version 0.2.2 the default-behaviour of moving files can be changed to only list the lilenames/namestructrues (and not moving them). Changes in 0.2.8: ================= Bug-Fix: -------- -inv option corrected! It didn't worked properly in version 0.2.6, because the filter function was stupid! Source restructuring: --------------------- Some changes in datastructures to have them more clear and have a more efficient program (multiple/unnecessary calls of the function "scan_string" removed). This was done in the parts of the program, where the file/template lists are build. I hope you enjoy this program, and I think if you have to handle a lot of files, this will be very helpful. You can find the tool here: ftp://www.belug.org/new/user/ob/Programs/Tools/pftdbns/ There also is a README in this directory, so that you can read more details. A description can also be found here: http://www.belug.org/~ob/ftp-area.html pftdbns uses the GPL-license. Best Regards, Oliver Bandel