# 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, [email protected] <[email protected]> wrote:
> Send mc mailing list submissions to
> [email protected]
>
> 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
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> 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 <[email protected]>
> To: [email protected]
> Subject: external diff
> Message-ID: <[email protected]>
> 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 <[email protected]>
> To: [email protected]
> Subject: Re: external diff
> Message-ID: <[email protected]>
> 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