From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 4cc7704942,6b15261f3358e6da,start X-Google-Attributes: gid4cc7704942,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 02 Aug 2011 17:40:02 -0500 Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on orca.chudov.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.2.4 From: Tim Daneliuk Newsgroups: comp.os.linux.announce Subject: [ANN]: 'tren' Cross-Platform Batch Renaming Tool, Version 1.242 Released Organization: A noiseless patient Spider Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 X-Auth-Sender: U2FsdGVkX1+cnD9eWUYp6ssHSokL1JrLI/XxWTOzJHpQUzcxSeZ24Q== Cancel-Lock: sha1:7YJDAavWL7QrQxfBIXx+fkok+N8= To: undisclosed-recipients:; Date: Tue, 2 Aug 2011 17:30:19 CST X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-5IHDml0zNkY3ll71hj5oXx8SVZEWgxnjEKy+RUijBaoo29InE1lAOtkFwmmipquusZu4tUpMY/33sU9!gl+gT0vxB7MFtafVdC2xjKsy/SxiZ2erzwG0fabPlQTwgdeZ+2yuYcUoxdp/7C+s X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 5023 Xref: g2news1.google.com comp.os.linux.announce:468 'tren' Version 1.242 is now released and available for download at: http://www.tundraware.com/Software/tren The last public release was 1.239. --------------------------------------------------------------------- What's New In This Release? --------------------------- Updated code for backward compatibility with versions of Python prior to 2.6.x. NEW: None OTHER: Documentation updates (minor). What Is 'tren'? ------------------ 'tren' is a general purpose file and directory renaming tool. Unlike commands like 'mv', 'tren' is particularly well suited for renaming *batches* of files and/or directories with a single command line invocation. 'tren' eliminates the tedium of having to script simpler tools to provide higher-level renaming capabilities. 'tren' is also adept at renaming only *part of an existing file or directory name* either based on a literal string or a regular expression pattern. You can replace any single, group, or all instances of a given string in a file or directory name. 'tren' implements the idea of a *renaming token*. These are special names you can embed in your renaming requests that represent things like the file's original name, its length, date of creation, and so on. There are even renaming tokens that will substitute the content of any environment variable or the results of running a program from a shell back into the new file name. 'tren' can automatically generate *sequences* of file names based on their dates, lengths, times within a given date, and so on. In fact, sequences can be generated on the basis of any of the file's 'stat' information. Sequence "numbers" can be ascending or descending and the count can start at any initial value. Counting can take place in one of several internally defined counting "alphabets" (decimal, hex, octal, alpha, etc.) OR you can define your own counting alphabet. This allows you to create sequences in any base (2 or higher please using any symbol set for the count. 'tren' is written in pure Python and requires Python version 2.4.x or later. (It *may* run with Python 2.3.x, but has not been tested with this older release.) 'tren' is known to run on various Unix-like variants (FreeBSD, Linux, MacOS X, cygwin) as well as Windows. It will also take advantage of 'win32all' Python extensions on a Windows system, if they are present. --------------------------------------------------------------------- Complete details of all fixes, changes, and new features can be found in the WHATSNEW.txt and documentation files included in the distribution. A FreeBSD port has been submitted as well. ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################