I was searching for a program to satisfy my special
needs and found out that Mirdir is almost it.
Unfortunately the version 2.1 contained some bugs that
I corrected and added the option I needed (with a very
dump implementation, but it does what I want).
Here is what I changed:
Revision 2.2 2006/07/02 22:00:00 gw (gw@tnode.com)
Bug fix: different contents check was invalid
Bug fix: the ignored file ("core") and directory
(".preserved_old")
did not work right and with recompiling it
is now possible to
disable this built in behavour
Change: all starting tabs in the source converted to
4 spaces, because
of indentation problems in different editors
Removed: the need to write -e none when you want to
mirror without exceptions
Added: Option to backup/preserve target files (-p)
(everything that needs
to be updated or removed is moved to another
directory under
unique file names). This could allow an
experienced user to
restore previous versions of files (if he
accidentally deletes
too much).
Updated: help output
Because of the convertion of tabs to spaces the diff
output displays almost the whole file! I named this
modified version 2.2 (it's based on 2.1). So here is
the source tar.
Mirdir "2.2" source tar
The diff from 2.1 to "2.2" (almost whole file)
Mirdir "2.2" Cygwin (win32) build (without the cygwin1.dll file needed for release)
Mirdir "2.21" source tar
Logged In: YES
user_id=1334052
I changed a few things already from my previous post (so
this is the wannabe-"2.21"):
Change: the default directory name for backup/preserve
target files renamed to ".mirdir_old"
Change: filenames in the exception file may now contain
spaces, but the negative effect is that extra flags MUST be
separated from it after a tab (\t)
Change: when the new -p switch is used the '/cygdrive/'
prefix is removed (if present) in the dummy backup mechanism
Updated: manually the MirdirStartGuide.txt (the man page
is and looks outdated)
Mirdir "2.21" Win32-Cygwin build (without the cygwin1.dll file needed for release)