Edits and cleanup to the options section.
1 parent d9c0d55 commit 261fed5190973a157268028efcabbbf91a45db18
@tundra tundra authored on 14 Jan 2010
Showing 1 changed file
View
18
tren.rst
--------
 
::
 
tren.py [-dhipqtvx] [-s string] [-r old=new]... file|dir file|dir ...
tren.py [-dhipqtvwx] [-l string] [-r old=new]... [-s number] file|dir file|dir ...
 
 
DESCRIPTION
-----------
the end or "extension" (as it is called in Windows).
 
By default, only the first instance of the string is replaced in the
name, but you can use the ``-g`` option to replace *all* instances
of the old string withthe new one.
of the old string with the new one.
 
Ordinarily **tren** treats both the old string you specify with
the ``-r`` option *literally*. However, it is sometimes handy
to be able to write a regular expression to specify what you
-i Use ISO date format when renaming by date sequence.
(Default: "YYYYMMDD")
 
 
-l string File "extension" delimiter string.
(Default: ".")
 
 
-p Prepend, do not replace, file name with date sequence.
(Default: Replace filename)
 
 
-q Quiet mode, do not show progress.
(Default: Display progress)
 
 
-s string File "extension" delimiter string.
(Default: ".")
-r <old=new> Replace "oldstring" with "newstring" in filenames.
 
 
-r <old=new> Replace "oldstring" with "newstring" in filenames.
 
-s number Set starting sequence number when renaming by date.
(Default: 0)
 
-t Test mode, don't rename, just show what the program *would* do
(ignores -q).
 
-----------------------------
 
::
 
$Id: tren.rst,v 1.103 2010/01/15 00:18:43 tundra Exp $
$Id: tren.rst,v 1.104 2010/01/15 02:15:41 tundra Exp $
 
You can find the latest version of this program at:
 
http://www.tundraware.com/Software/tren