Re: Ignoring permission differences...

2013-12-23 Thread Wayne Davison
On Sun, Dec 22, 2013 at 11:58 AM, Charles Marcus wrote: > But that will ignore differences in permissions - ie, won't recopy > everything, just because the permissions on the source are different from > the permissions on the target... > Rsync never recopies anything (which implies a file transfe

Re: Ignoring permission differences...

2013-12-22 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Correct. Also, you can always --dry-run to be sure. On 12/22/2013 03:09 PM, Charles Marcus wrote: > On 2013-12-22 2:58 PM, Charles Marcus > wrote: >> rsync -rltgovDHP --delete --exclude-from >> '/home/user/excludes.txt' /mnt/example.com/ >> /var/vma

Re: Ignoring permission differences...

2013-12-22 Thread Charles Marcus
On 2013-12-22 2:58 PM, Charles Marcus wrote: rsync -rltgovDHP --delete --exclude-from '/home/user/excludes.txt' /mnt/example.com/ /var/vmail/example.com/ Also... being the paranoid schizophrenic that I am, adding the --delete option makes me nervous. There is no way that the above command c

Re: Ignoring permission differences...

2013-12-22 Thread Charles Marcus
Which is what the command at the bottom is... I was just asking for confirmation that I was thinking right about it... On 2013-12-22 3:01 PM, Kevin Korb wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That would be -a except for the -p part. On 12/22/2013 02:58 PM, Charles Marcus wrote:

Re: Ignoring permission differences...

2013-12-22 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That would be -a except for the -p part. On 12/22/2013 02:58 PM, Charles Marcus wrote: > Hi all, > > Ok, since 3.1 still isn't in stable, I'm curious if I can just find > the equivalent of: > > rsync -avHP --delete --exclude-from '/home/user/exclude

Ignoring permission differences...

2013-12-22 Thread Charles Marcus
Hi all, Ok, since 3.1 still isn't in stable, I'm curious if I can just find the equivalent of: rsync -avHP --delete --exclude-from '/home/user/excludes.txt' /mnt/example.com/ /var/vmail/example.com/ But that will ignore differences in permissions - ie, won't recopy everything, just because