Problem with exclude folders

Paul Slootman paul+rsync at
Thu Mar 19 16:19:41 GMT 2009

On Thu 19 Mar 2009, Mirko Hufnagel wrote:
> Problem 1) all jpeg are copied to the external server - also the jpegs  
> from HK folders. But I only want jpegs from the EU and other folders.
> Problem 2) an empty texts folder was created on the external server -  
> but I don't want this.
> Is there any solution for my 2 problems? I invest now over 5 hours to  

I'd suggest just using one include file, with the following content:

- HK/
- texts
+ */
+ *.JPG
+ *.jpg

and just delete the --exclude-from=/etc/rsyncexcludes.txt from your


More information about the rsync mailing list