| |
---|
| | # Program Information |
---|
| | |
---|
| | PROGNAME = "tren.py" |
---|
| | PROGENV = PROGNAME.split(".py")[0].upper() |
---|
| | RCSID = "$Id: tren.py,v 1.128 2010/01/30 19:48:27 tundra Exp $" |
---|
| | RCSID = "$Id: tren.py,v 1.129 2010/01/30 20:00:40 tundra Exp $" |
---|
| | VERSION = RCSID.split()[2] |
---|
| | |
---|
| | # Copyright Information |
---|
| | |
---|
| | CPRT = "(c)" |
---|
| | DATE = "2010" |
---|
| | OWNER = "TundraWare Inc." |
---|
| | COPYRIGHT = "Copyright %s %s, %s " % (CPRT, DATE, OWNER) |
---|
| | |
---|
| | PROGVER = PROGNAME + " " + VERSION + (" - %s\n" % COPYRIGHT) |
---|
| | RIGHTS = "All Rights Reserved." |
---|
| | COPYRIGHT = "Copyright %s %s, %s %s" % (CPRT, DATE, OWNER, RIGHTS) |
---|
| | |
---|
| | PROGVER = PROGNAME + " " + VERSION + (" - %s" % COPYRIGHT) |
---|
| | HOMEPAGE = "http://www.tundraware.com/Software/tren\n" |
---|
| | |
---|
| | |
---|
| | #----------------------------------------------------------# |
---|
| | # Variables User Might Change # |
---|
| |
---|
| | # Usage Prompts |
---|
| | ##### |
---|
| | |
---|
| | uTable = [PROGVER, |
---|
| | HOMEPAGE, |
---|
| | "usage: " + PROGNAME + " [-1abCcdEefghqtvwXx] [-I file] [-l string] [-r old=new]... file|dir file|dir ...", |
---|
| | " where,", |
---|
| | " -1 Rename only the first instance of the specified string (Default)", |
---|
| | " -a Rename within the entire file or directory name (Default)", |
---|
| |
---|
| | |