Minor edits and formatting cleanup.
1 parent 4cf8156 commit 74e9e999af8dd53a97831eaaac122ad8caf2abbc
@tundra tundra authored on 14 Jan 2010
Showing 1 changed file
View
22
tren.rst
-------
 
-b Exclude file/directory "extension" when doing string
substitution.
(Default: Substitute in the entire file/directory name)
(*Default*: Substitute within the entire file/directory name)
 
 
-d Rename by date sequence. (Default: Rename via string replacement.)
-d Rename by date sequence. (*Default*: Rename via string replacement.)
 
-e Only do string substitutions in the filename "extension".
(Default: Substitute in the entire file/directory name)
(*Default*: Substitute within the entire file/directory name)
 
 
-g Replace all instances (greedy replace) of the old string
with the new.
-h Print help information.
 
 
-i Use ISO date format when renaming by date sequence.
(Default: "YYYYMMDD")
(*Default*: "YYYYMMDD")
 
 
-l string File "extension" delimiter string.
(Default: ".")
(*Default*: ".")
 
 
-p Prepend, do not replace, file name with date sequence.
(Default: Replace filename)
(*Default*: Replace filename)
 
 
-q Quiet mode, do not show progress.
(Default: Display progress)
(*Default*: Display progress)
 
 
-r <old=new> Replace "oldstring" with "newstring" in filenames.
 
 
-s number Set starting sequence number when renaming by date.
(Default: 0)
(*Default*: 0)
 
-t Test mode, don't rename, just show what the program *would* do
(ignores -q).
 
-v Print detailed program version information and exit.
 
-w Turn off warnings about potentially overwriting existing
files or directories.
(Default: Warn if target exists.)
(*Default*: Warn if target exists.)
 
-x Treat the old string in a ``-r`` replacement as a Python
style regular expression for matching purposes.
(Default: Treat the old string as literal text)
(*Default*: Treat the old string as literal text)
 
 
EXAMPLES
--------
-----------------------------
 
::
 
$Id: tren.rst,v 1.106 2010/01/15 02:39:41 tundra Exp $
$Id: tren.rst,v 1.107 2010/01/15 02:42:36 tundra Exp $
 
You can find the latest version of this program at:
 
http://www.tundraware.com/Software/tren