Directory comparison

R Kimber richardkimber at btinternet.com
Mon Jul 27 11:37:14 UTC 2009


On Sun, 26 Jul 2009 15:04:04 -0700
NoOp wrote:

> On 07/26/2009 02:37 PM, R Kimber wrote:
> > On Sun, 26 Jul 2009 15:13:50 -0400
> > Brian McKee wrote:
> > 
> >> On Sun, Jul 26, 2009 at 12:55 PM, R
> >> Kimber<richardkimber at btinternet.com> wrote:
> >> > Can anyone recommend an application that I can use to compare
> >> > modification times and filenames in directories on a remote server
> >> > with those on my PC?
> >> 
> >> Two thoughts - I like 'meld' and it compares local directories - it's
> >> available in the repositories - so if you can access the remote
> >> directory thru nautilus, then use the ~/.gvfs folder to make the
> >> remote folder available to meld as a local one.
> >> 
> >> Or you could hack up a little bash script - e.g.
> >>    ls -ahl / > /tmp/1 && ssh riviera 'ls -ahl / > /tmp/2' && scp
> >> riviera:/tmp/2 /tmp && vimdiff /tmp/1 /tmp/2
> >> replacing riviera with your remote host, and vimdiff with meld or
> >> whatever you prefer...
> > 
> > I had a look at meld. But does meld connect to external sites?  I wasn't
> > clear that it did.
> 
> No, but that is why Brian mentioned connecting via nautilus (connect to
> server|ssh etc) and once mounted have meld use the ~/.gvfs folder to use
> the comparison. Once the remote is mounted in nautilus, the mount point
> is maintained in ~/.gvfs for as long as it is mounted.

Sorry. I was in too much of a hurry.  I should have read it properly. It
sound like a good option.

- Richard
-- 
Richard Kimber
http://www.psr.keele.ac.uk/




More information about the ubuntu-users mailing list