Hello all, Is it possible to exclude a file type for a specific sync? Also, we had an issue where rsync locked mail files during copying. Any way to avoid it? Both questions apply on a Windows system. Thanks!
Dear Sir,> Subject: > Exclude file type > From: > "Beach Computers" <Groups@beachcomp.com> > Date: > Sun, 19 Jun 2005 16:28:52 -0400 > To: > <rsync@lists.samba.org> > > To: > <rsync@lists.samba.org> > > > >Hello all, > >Is it possible to exclude a file type for a specific sync? >Also, we had an issue where rsync locked mail files during copying. Any way >to avoid it? >Both questions apply on a Windows system. > > >I think --exclude=PATTERN exclude files matching PATTERN --exclude-from=FILE exclude patterns listed in FILE is what you are looking for?? regards, Bimal Pandit -------------- next part -------------- HTML attachment scrubbed and removed
On Sun, Jun 19, 2005 at 04:28:52PM -0400, Beach Computers wrote:> Is it possible to exclude a file type for a specific sync?Do you mean something like --exclude="*.exe" ?> Also, we had an issue where rsync locked mail files during copying. > Any way to avoid it [on an MS Windows system]?Rsync just opens each file for reading and reads it. If this causes a file to become locked, that's an OS problem. There is no easy solution for this undesired behavior (that I know of). ..wayne..