Re: diff with mc


is mc able to diff two directories? I want to select diretories/files on
each side and then create a diff file between them.

I would really like this feature.

Command -> Compare directories in the menu can select files that are
different.  Then you probably can write a script that compared the
arguments and use %t and %T in mc that will expand to the selected files.

In other words:

F9 c c
mdiff %t -- %T >files.diff

You will have filenames separated by "--" on the command line.  You only
need to write mdiff.

Pavel Roskin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]