ReDate Addon 1.04 for Total Commander
By Roman Korcek (roman_korcek@hotmail.com; thehacker@host.sk), 19 Apr 2004

http://www.angelfire.com/sk/thehacker/redate/
http://thehacker.host.sk/redate/


Overview:
---------

The ReDate Addon is something like the counter [C] in TC's Multi-Rename
Tool, however, it is for file dates (and times). Using ReDate you can
change the dates of multiple files incrementally.

Example:

Originally:
file1.ext  20 Oct 2002 10:30
file2.ext  19 Oct 2002 13:04
file3.ext  19 Oct 2002 19:38
file4.ext  18 Oct 2002 21:08
file5.ext  17 Oct 2001 12:31

Set Months to start from 1 with an increment of 1 and Days to start from 1
with an increment of 2.

The result:
file1.ext  01 Jan 2002 10:30
file2.ext  03 Feb 2002 13:04
file3.ext  05 Mar 2002 19:38
file4.ext  07 Apr 2002 21:08
file5.ext  09 May 2001 12:31

You can sort the files according to your needs using Ctrl-Up/Down in the
Preview.

If the automatic updating of the Preview is slowing you down too much you
can turn it off (and on again) by pressing U.

It is also possible to set random values for years - seconds by selecting
the appropriate checkbox(es), setting the range using the Start from field
as the left limit, the Increment by field as the right limit and pressing
R. So if you want to randomize the seconds to numbers between 15 and 20
just select the checkbox next to Seconds, set Start from to 15, Increment
by to 20 and press R. Pressing R repeatedly gives you different random
values.


Installation:
-------------

You need to add the ReDate Addon to the Button Bar or to the Start menu of
Total Commander, type %L into the Parameters field and clear the Start
path entry. Then you just select the files whose dates you want to set and
press the ReDate button / start ReDate from TC's Start menu. If you select
directories, they will be ignored. However, ReDate should work correctly
with files shown in Branch view or the result of Find Files fed to a
listbox.


Licence:
--------

You are allowed to use the program and the source in any way you wish,
however, I would be glad if you let me know and possibly give me some
credit in case you want to use the program or the source somewhere.


Thanks to:
----------

Christian Ghisler                  for Total Commander (http://www.ghisler.com)
John Young                         for the inspiration
Markus Oberhumer and Laszlo Molnar for UPX (http://upx.sourceforge.net)
Borland                            for Delphi (http://www.borland.com)
Alan Phillips                      for PFE
Mozilla.org                        for Mozilla
The Host.sk team                   for Host.sk