Menu

#1 ("2.21") Bug fixes and added option to preserve target files

open
nobody
None
5
2006-07-03
2006-07-02
gw-
No

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.

Discussion

  • gw-

    gw- - 2006-07-02

    Mirdir "2.2" source tar

     
  • gw-

    gw- - 2006-07-02

    The diff from 2.1 to "2.2" (almost whole file)

     
  • gw-

    gw- - 2006-07-02

    Mirdir "2.2" Cygwin (win32) build (without the cygwin1.dll file needed for release)

     
  • gw-

    gw- - 2006-07-03
    • summary: Some bug fixes and added an option to preserve target files --> ("2.21") Bug fixes and added option to preserve target files
     
  • gw-

    gw- - 2006-07-03

    Mirdir "2.21" source tar

     
  • gw-

    gw- - 2006-07-03

    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)

     
  • gw-

    gw- - 2006-07-03

    Mirdir "2.21" Win32-Cygwin build (without the cygwin1.dll file needed for release)

     

Log in to post a comment.