Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-21 Thread Lloyd Kvam
On Thu, 2007-06-21 at 09:47 -0400, Danny Yoo wrote: > >> At first blush it sounds to me like you want rsync, as has been > >> pointed out. If on of the systems is running an OS that doesn't come > >> with rsync... I have used http://www.vdesmedt.com/~vds2212/rsync.html > >> to achieve the same res

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-21 Thread Reed O'Brien
On Jun 21, 2007, at 9:06 AM, Lloyd Kvam wrote: > On Wed, 2007-06-20 at 23:51 -0400, Reed O'Brien wrote: >> On Jun 20, 2007, at 2:03 PM, Richard Querin wrote: >> >>> I'm interested in writing a quick script that would run a diff-type >>> command that would compare a local directory to a remote one

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-21 Thread Danny Yoo
>> At first blush it sounds to me like you want rsync, as has been >> pointed out. If on of the systems is running an OS that doesn't come >> with rsync... I have used http://www.vdesmedt.com/~vds2212/rsync.html >> to achieve the same result. >> > > When I need to deal with Windows computers, I so

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-21 Thread Lloyd Kvam
On Wed, 2007-06-20 at 23:51 -0400, Reed O'Brien wrote: > On Jun 20, 2007, at 2:03 PM, Richard Querin wrote: > > > I'm interested in writing a quick script that would run a diff-type > > command that would compare a local directory to a remote one to > > identify the changes in the files within tha

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-20 Thread Reed O'Brien
On Jun 20, 2007, at 2:03 PM, Richard Querin wrote: > I'm interested in writing a quick script that would run a diff-type > command that would compare a local directory to a remote one to > identify the changes in the files within that directory. > > I was initially thinking that I would maybe use

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-20 Thread Norman Khine
It depends what you want to compare. Here we use Git http://git.or.cz/ it is written in python and basically you can have two repositories on the different machines, and track the changes. Obviously if you make a change on a file, this change has to be commited before it can be accounted for. perha

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-20 Thread Kent Johnson
Richard Querin wrote: > I'm interested in writing a quick script that would run a diff-type > command that would compare a local directory to a remote one to > identify the changes in the files within that directory. > > I was initially thinking that I would maybe use the linux diff command > in c

Re: [Tutor] how can I compare a local directory or file with a remote one

2007-06-20 Thread Tom Tucker
What are we comparing? Size of files, number of files in a directory, md5sum of the files, directory size, etc? What about rsync? You can use rsync to compare directories between a source and destiantion system and just report differences. For example, comparing /etc directores between two RHEL

[Tutor] how can I compare a local directory or file with a remote one

2007-06-20 Thread Richard Querin
I'm interested in writing a quick script that would run a diff-type command that would compare a local directory to a remote one to identify the changes in the files within that directory. I was initially thinking that I would maybe use the linux diff command in conjunction with the wget command (