From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id B1E32BCAC for ; Sun, 15 May 2005 17:50:01 +0200 (CEST) Received: from first.in-berlin.de (dialin-145-254-065-053.arcor-ip.net [145.254.65.53]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j4FFo05q014713 for ; Sun, 15 May 2005 17:50:00 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id A405CEFDD2; Sun, 15 May 2005 17:49:46 +0200 (CEST) Date: Sun, 15 May 2005 17:49:46 +0200 From: Oliver Bandel To: caml-list@yquem.inria.fr Subject: Announcement: pftdbns 0.2.4 Message-ID: <20050515154945.GA1008@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 concorde with ID 42876FA8.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 bandel:01 short:01 integer:01 tex:01 behaviour:01 pair:01 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 version 0.2.4 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). NEW FEATURES/OPTIONS SINCE VERSION 0.2.4: ------------------------------------------- -dp directory name-prefix -fd fixed directory name -ld function selection: only list filenames and directory name; do not move files -la function selection: only list (list all): "all" means filename, namestructure and directory name; do not move files 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 P.S.: Also have changed internal datastructures from pair to record, but for you as user this might only be marginally interesting.