| |
---|
| | |
---|
| | PROGNAME = "tren.py" |
---|
| | BASENAME = PROGNAME.split(".py")[0] |
---|
| | PROGENV = BASENAME.upper() |
---|
| | RCSID = "$Id: tren.py,v 1.205 2010/03/19 02:57:35 tundra Exp $" |
---|
| | RCSID = "$Id: tren.py,v 1.206 2010/03/19 16:25:57 tundra Exp $" |
---|
| | VERSION = RCSID.split()[2] |
---|
| | |
---|
| | # Copyright Information |
---|
| | |
---|
| |
---|
| | HOMEPAGE, |
---|
| | "usage: " + PROGNAME + " [[-aCcdfhqtvwXx] [-I file] [-i instance] [-P escape] [ -R separator] [-S suffix] [-r old=new]] ... file|dir file|dir ...", |
---|
| | " where,", |
---|
| | " -A alphabet Install \"alphabet\" for use by sequence renaming tokens", |
---|
| | " -a Turn on interactive asking before each rename (Default: Off)", |
---|
| | " -a Ask interactively before renaming (Default: Off)", |
---|
| | " -C Do case-sensitive renaming (Default)", |
---|
| | " -c Collapse case when doing string substitution (Default: False)", |
---|
| | " -d Dump debugging information (Default: False)", |
---|
| | " -f Force renaming even if target file or directory name already exists (Default: False)", |
---|
| | " -h Print help information (Default: False)", |
---|
| | " -I file Include command line arguments from file", |
---|
| | " -i num|range Specify which instance to replace (Default: %s)" % DEFINST, |
---|
| | " -i num|range Specify which instance(s) to replace (Default: %s)" % DEFINST, |
---|
| | " -P char Use 'char' as the escape sequence (Default: %s)" % DEFESC, |
---|
| | " -q Quiet mode, do not show progress (Default: False)", |
---|
| | " -R char Separator character for -r rename arguments (Default: %s)" % DEFSEP, |
---|
| | " -r old=new Replace old with new in file or directory names", |
---|
| |
---|
| | |