Questions about exclude-file

Max Kipness mkipness at
Tue Mar 11 01:35:26 EST 2003

Thanks for the response.

Concerning the first question of excluding pagefile.sys, yes it would
indeed be in use. So you are saying that you cannot exclude a file that
is in use?

- Max

> On Mon, Mar 10, 2003 at 07:28:38AM -0600, Max Kipness wrote:
> > Is there anyway to keep rsync from reporting an error when 
> attempting 
> > to sync pagefile.sys (through a samba share)? It seems like 
> any type 
> > of exclusion of the file gets ignored, why is that? Anyway 
> around it?
> It could only be because your exlude patterns are wrong.
> The error is probably because the file is open and therefor locked.
> > Also, of experimented with the exclude-from syntax quite a bit and 
> > haven't figure out how you could just backup all .doc files 
> on a file 
> > system and exclude everything else.
> I almost told you to check the archives but i couldn't find
> it quickly so here:
> rsync -blahblah --include='*/' --include='*.doc' --exclude='*'
> That will create of course every single directory even if it 
> doesn't have a .doc file at any depth beneath it. 
> -- 
> ________________________________________________________________
> 	J.W. Schultz            Pegasystems Technologies
> 	email address:		jw at
> 		Remember Cernan and Schmitt
> -- 
> To unsubscribe or change options: 
> Before posting, 
> read:

More information about the rsync mailing list