Directory comparison
R Kimber
richardkimber at btinternet.com
Sun Jul 26 21:37:34 UTC 2009
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.
Yes, it looks as though I'll write a script. My problem is that when I
write such scripts I have the feeling that I must be re-inventing the
wheel. Sigh......
- Richard.
--
Richard Kimber
http://www.psr.keele.ac.uk/
More information about the ubuntu-users
mailing list