From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Michael Albinus <michael.albinus@gmx.de>,
emacs-list Help <help-gnu-emacs@gnu.org>
Subject: ediff-directories - how to ignore timestamps and work recursively
Date: Wed, 04 Sep 2013 10:54:26 +0200 [thread overview]
Message-ID: <92C41085-34D2-4974-8988-41C717B1ECFB@nf.mpg.de> (raw)
In-Reply-To: <87k3ixf2ag.fsf@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]
Dear Michael,
> From: Stefan Vollmar <vollmar@nf.mpg.de>
> Date: 4. September 2013 08:06:31 MESZ
> To: Org Mode Mailing List <emacs-orgmode@gnu.org>
> Hello,
>
> I want to compare two directories and see what files are different, however, the comparison should ignore timestamps of files. Is there a simple solution?
>
> I had assumed that ediff would also consider files in subdirectories of the directory paths given for comparison. Apparently, it does not do that in Emacs 23.4.1 - is there a "recursive" option?
On 04.09.2013, at 09:56, Michael Albinus wrote:
>> You might have better luck on the emacs list.
that was actually what I had in mind, my mistake.
>> That said, did you look
>> at `ediff-directories'?
>
> That's also my tool of choice. Combined with the key sequene "= h x",
> which shows you only the files which differ.
that works beautifully, thanks! However, there are a few files in one directory with no corresponding files in the other directory - they are easy to miss in my case (1000+ files). I luckily knew about them so I noticed that ediff-directories does not list them - is that by design?
> `ediff-directories' is not recursive, but it gives you also subdirectory
> pairs to compare. Just hit enter on such a pair.
>
> As bonus, it even works for remote directories.
- courtesy of the extremely useful tramp-package (which we use every day for editing remote files)?
Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
E-Mail: vollmar@nf.mpg.de http://www.nf.mpg.de
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4490 bytes --]
next prev parent reply other threads:[~2013-09-04 8:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 6:06 ediff-directories - how to ignore timestamps and work recursively Stefan Vollmar
2013-09-04 7:47 ` Suvayu Ali
2013-09-04 7:49 ` suvayu ali
2013-09-04 7:56 ` Michael Albinus
2013-09-04 8:54 ` Stefan Vollmar [this message]
2013-09-04 10:34 ` Michael Albinus
2013-09-04 12:03 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=92C41085-34D2-4974-8988-41C717B1ECFB@nf.mpg.de \
--to=vollmar@nf.mpg.de \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.