# whatis meld
meld: nothing appropriate
--- .mc.menu
D       Delete tagged files if a copy exists in the other directory.
        if [ "%d" = "%D" ]; then
          echo "The two directores must be different"
          exit 1
        fi
        for i in %t
        do
          if [ -f %D/$i ]; then
            SUM1="`sum $i`"
            SUM2="`sum %D/$i`"
            if [ "$SUM1" = "$SUM2" ]; then
              rm $i && echo ${i}: DELETED
            else
              echo $i and %D/$i differ: NOT deleted.
            fi
          else
            echo %f has no copy in %D/%f: NOT deleted.
          fi
        done
???? BTW I found that any macros which use Fkeys[which is essential for mc]
is no good, because the macro waits for the input
to the F-key. I can't remember, but probably for F7

On 11/29/12, mc-requ...@gnome.org <mc-requ...@gnome.org> wrote:
> Send mc mailing list submissions to
>       mc@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://mail.gnome.org/mailman/listinfo/mc
> or, via email, send a message with subject or body 'help' to
>       mc-requ...@gnome.org
>
> You can reach the person managing the list at
>       mc-ow...@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mc digest..."
>
>
> Today's Topics:
>
>    1. external diff (Frank Dietrich)
>    2. Re: external diff (Andrew Borodin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 28 Nov 2012 19:42:47 +0100
> From: Frank Dietrich <ables...@gmx.de>
> To: mc@gnome.org
> Subject: external diff
> Message-ID: <20121128194247.4c663...@example.com>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi,
>
> is it possible to configure an external diff tool?
> I would like to use meld in case I need to diff a directory.
>
> Current I do it like this
>   in panel1: cd ..
>   in panel2: cd ..
>   type command 'meld '
>   in panel2: CTRL-SHIFT-ENTER
>   in panel1: CTRL-SHIFT-ENTER
>   press ENTER to execute the command
>
> I would like to reduce the number of steps needed to compare the two
> selected directories without leaving them.
>
> cheers
> Frank
> --
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 29 Nov 2012 08:25:57 +0400
> From: Andrew Borodin <aboro...@vmail.ru>
> To: mc@gnome.org
> Subject: Re: external diff
> Message-ID: <web-1720729...@box.vrn.ru>
> Content-Type: text/plain;charset=koi8-r
>
> On Wed, 28 Nov 2012 19:42:47 +0100 Frank Dietrich wrote:
>> is it possible to configure an external diff tool?
>> I would like to use meld in case I need to diff a directory.
>>
>> Current I do it like this
>>   in panel1: cd ..
>>   in panel2: cd ..
>>   type command 'meld '
>>   in panel2: CTRL-SHIFT-ENTER
>>   in panel1: CTRL-SHIFT-ENTER
>>   press ENTER to execute the command
>>
>> I would like to reduce the number of steps needed to compare the two
>> selected directories without leaving them.
>
> Read the "Macro Substitution" subsection in mc manual page.
>
> --
> Andrew
>
>
> ------------------------------
>
> _______________________________________________
> mc mailing list
> https://mail.gnome.org/mailman/listinfo/mc
>
>
> End of mc Digest, Vol 103, Issue 3
> **********************************
>
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc

Reply via email to