[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ediff-directories - how to ignore timestamps and work recursively
From: |
Stefan Vollmar |
Subject: |
ediff-directories - how to ignore timestamps and work recursively |
Date: |
Wed, 04 Sep 2013 10:54:26 +0200 |
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
smime.p7s
Description: S/MIME cryptographic signature
- ediff-directories - how to ignore timestamps and work recursively,
Stefan Vollmar <=