From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E2AC2BC84 for ; Fri, 29 Apr 2005 16:36:15 +0200 (CEST) Received: from first.in-berlin.de (dialin-145-254-065-121.arcor-ip.net [145.254.65.121]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j3TEaEoT017866 for ; Fri, 29 Apr 2005 16:36:15 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id D1193E0894; Fri, 29 Apr 2005 16:36:02 +0200 (CEST) Date: Fri, 29 Apr 2005 16:36:02 +0200 From: Oliver Bandel To: caml-list@yquem.inria.fr Subject: Announcement: pftdbns 0.2.2 Message-ID: <20050429143602.GA887@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 4272465E.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 choosen:01 bandel:01 strings:01 short:01 behaviour:01 behaviour:01 filenames:02 string:03 jpg:96 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Hello, OCaml-programmers, I have to announce 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 -> "d" (digit" and so on). Thsi 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. The default behaviour is to move files into directories. The names of the directories are choosen from the string, which represents the name structure. But since version 0.2.2 this defaulkt behaviour can be overriden, so that the files will not be moved, but only the names (or names and the namestructure strings) will be printed. So, 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