Re: Copy only the differences in other structure

2008-02-19 Thread Edilson Azevedo
Hi People! First, thanks for asking AND so sorry for my bad English. Let's go: Like Mr. Paul say's: diff isn't appropriate for this question. The difference between the two folders is only the necessary for me. So, the first answer (send by Mr. Matt) may be solve my problem. I'm testing and sen

Re: Copy only the differences in other structure

2008-02-18 Thread Paul Johnson
On Feb 18, 2008 3:38 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote: > On Mon, 2008-02-18 at 16:17 -0300, Edilson Azevedo wrote: > > Directory 'foo' contain: > > file1 > > file2 > > file3 > > > > Directory 'foo2' contain: > > file1 > > file2 > > file3 > > file4 > > > > After apply the rsync, it's cr

Re: Copy only the differences in other structure

2008-02-18 Thread Matt McCutchen
On Mon, 2008-02-18 at 16:17 -0300, Edilson Azevedo wrote: > Directory 'foo' contain: > file1 > file2 > file3 > > Directory 'foo2' contain: > file1 > file2 > file3 > file4 > > After apply the rsync, it's create this structure: > > Directory 'foo_diff' with the file: > file4 rsync -r --compare-d

Copy only the differences in other structure

2008-02-18 Thread Edilson Azevedo
Hi folks! How to synchronize the between of two directories, but, salve the files in others estruture? The ideia is: Directory 'foo' contain: file1 file2 file3 Directory 'foo2' contain: file1 file2 file3 file4 After apply the rsync, it's create this structure: Directory 'foo_diff' with the