Hi,

On Thu, 18 Apr 2013 13:30:45 +0200
Jos Chrispijn <[email protected]> wrote:

> I have a local folder called /files/
> In my daily backup event I create as per day a backkup folder that 
> contains this /files folder including all its sub folders
> 
> --- cut ---
> 
> rsync -avrz -e ssh /files/ [email protected]:/vol1/FreeBSD/$DATE/
> 
> In this /files folder, amongst others, I have another folder called 
> photos: /files/photos
> 
> What I now would like to do is sync the /files folder with an
> exclusion on the /files/photos folder

I use the following option:

--exclude '/data/Mail/*'

/data/Mail is rooted in the directory I want to copy.

Erich

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to